Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • fs
  • nfs
  • flexfilelayout
  • flexfilelayoutdev.c
Find file BlameHistoryPermalink
  • Trond Myklebust's avatar
    NFSv4.1/flexfiles: Fix a protocol error in layoutreturn · f232178c
    Trond Myklebust authored Aug 27, 2015
    commit d1354907
    
     upstream.
    
    According to the flexfiles protocol, the layoutreturn should specify an
    array of errors in the following format:
    
    struct ff_ioerr4 {
    	offset4        ffie_offset;
    	length4        ffie_length;
    	stateid4       ffie_stateid;
    	device_error4  ffie_errors<>;
    };
    
    This patch fixes up the code to ensure that our ffie_errors is indeed
    encoded as an array (albeit with only a single entry).
    
    Reported-by: default avatarTom Haynes <thomas.haynes@primarydata.com>
    Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    f232178c
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7