1. 27 Apr, 2011 2 commits
    • Bryan Schumaker's avatar
      NFS: Return meaningful status from decode_secinfo() · 613e901e
      Bryan Schumaker authored
      When compiling, I was getting this warning:
      fs/nfs/nfs4xdr.c: In function ‘decode_secinfo’:
      fs/nfs/nfs4xdr.c:4839:6: warning: variable ‘status’ set but not used
      [-Wunused-but-set-variable]
      
      We were unconditionally returning 0 as long as there wasn't an error
      coming out of xdr_inline_decode().  We probably want to check the error
      status coming out of decode_op_hdr() and decode_secinfo_gss(), rather
      than assuming that everything is OK all the time.
      Signed-off-by: default avatarBryan Schumaker <bjschuma@netapp.com>
      Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
      613e901e
    • Trond Myklebust's avatar
      NFSv4: Ensure we request the ordinary fileid when doing readdirplus · 28331a46
      Trond Myklebust authored
      When readdir() returns a directory entry for the root of a mounted
      filesystem, Linux follows the old convention of returning the inode
      number of the covered directory (despite newer versions of POSIX declaring
      that this is a bug).
      To ensure this continues to work, the NFSv4 readdir implementation requests
      the 'mounted-on-fileid' from the server.
      
      However, readdirplus also needs to instantiate an inode for this entry, and
      for that, we also need to request the real fileid as per this patch.
      Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
      28331a46
  2. 24 Apr, 2011 3 commits
  3. 18 Apr, 2011 2 commits
  4. 15 Apr, 2011 2 commits
  5. 13 Apr, 2011 6 commits
  6. 12 Apr, 2011 25 commits