1. 12 3月, 2009 4 次提交
  2. 24 12月, 2008 9 次提交
  3. 17 5月, 2008 1 次提交
  4. 20 4月, 2008 3 次提交
  5. 20 3月, 2008 1 次提交
    • J
      NFS: clean up short packet handling for NFSv4 readdir · 7bda2cdf
      Jeff Layton 提交于
      Currently, the NFS readdir decoders have a workaround for buggy servers
      that send an empty readdir response with the EOF bit unset. If the
      server sends a malformed response in some cases, this workaround kicks
      in and just returns an empty response rather than returning a proper
      error to the caller.
      
      This patch does 3 things:
      
      1) have malformed responses with no entries return error (-EIO)
      
      2) preserve existing workaround for servers that send empty
         responses with the EOF marker unset.
      
      3) Add some comments to clarify the logic in decode_readdir().
      Signed-off-by: NJeff Layton <jlayton@redhat.com>
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      7bda2cdf
  6. 15 3月, 2008 1 次提交
  7. 30 1月, 2008 3 次提交
  8. 10 10月, 2007 3 次提交
  9. 20 7月, 2007 6 次提交
  10. 11 7月, 2007 6 次提交
  11. 15 5月, 2007 2 次提交
    • T
      NFS: Fix more sparse warnings · 2e42c3e2
      Trond Myklebust 提交于
       - fs/nfs/nfs4xdr.c:2499:42: warning: incorrect type in argument 2
         (different signedness)
       - fs/nfs/nfs4xdr.c:2658:49: warning: incorrect type in argument 4
         (different explicit signedness)
       - fs/nfs/nfs4xdr.c:2683:50: warning: incorrect type in argument 4
         (different explicit signedness)
       - fs/nfs/nfs4xdr.c:3063:68: warning: incorrect type in argument 4
         (different explicit signedness)
       - fs/nfs/nfs4xdr.c:3065:68: warning: incorrect type in argument 4
         (different explicit signedness)
      
       - fs/nfs/callback_xdr.c:138:31: warning: incorrect type in argument 2
         (different signedness)
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      2e42c3e2
    • T
      NFS4: Fix incorrect use of sizeof() in fs/nfs/nfs4xdr.c · 8ae20abd
      Trond Myklebust 提交于
      The XDR code should not depend on the physical allocation size of
      structures like nfs4_stateid and nfs4_verifier since those may have to
      change at some future date. We therefore replace all uses of
      sizeof() with constants like NFS4_VERIFIER_SIZE and NFS4_STATEID_SIZE.
      
      This also has the side-effect of fixing some warnings of the type
      	format ‘%u’ expects type ‘unsigned int’, but argument X has type
      		‘long unsigned int’
      on 64-bit systems
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      8ae20abd
  12. 10 5月, 2007 1 次提交