1. 02 5月, 2012 6 次提交
  2. 28 4月, 2012 12 次提交
  3. 21 4月, 2012 1 次提交
  4. 20 4月, 2012 3 次提交
  5. 28 3月, 2012 3 次提交
  6. 25 3月, 2012 1 次提交
  7. 21 3月, 2012 5 次提交
  8. 20 3月, 2012 1 次提交
  9. 13 3月, 2012 1 次提交
  10. 12 3月, 2012 1 次提交
    • T
      NFS: Fix a number of sparse warnings · 17280175
      Trond Myklebust 提交于
      Fix a number of "warning: symbol 'foo' was not declared. Should it be
      static?" conditions.
      
      Fix 2 cases of "warning: Using plain integer as NULL pointer"
      
      fs/nfs/delegation.c:263:31: warning: restricted fmode_t degrades to integer
        - We want to allow upgrades to a WRITE delegation, but should otherwise
          consider servers that hand out duplicate delegations to be borken.
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      17280175
  11. 09 3月, 2012 2 次提交
  12. 08 3月, 2012 2 次提交
  13. 06 3月, 2012 2 次提交
    • C
      NFS: Fix nfs4_verifier memory alignment · cd93710e
      Chuck Lever 提交于
      Clean up due to code review.
      
      The nfs4_verifier's data field is not guaranteed to be u32-aligned.
      Casting an array of chars to a u32 * is considered generally
      hazardous.
      
      Fix this by using a __be32 array to generate a verifier's contents,
      and then byte-copy the contents into the verifier field.  The contents
      of a verifier, for all intents and purposes, are opaque bytes.  Only
      local code that generates a verifier need know the actual content and
      format.  Everyone else compares the full byte array for exact
      equality.
      
      Also, sizeof(nfs4_verifer) is the size of the in-core verifier data
      structure, but NFS4_VERIFIER_SIZE is the number of octets in an XDR'd
      verifier.  The two are not interchangeable, even if they happen to
      have the same value.
      Signed-off-by: NChuck Lever <chuck.lever@oracle.com>
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      cd93710e
    • T
      NFSv4: Simplify the struct nfs4_stateid · 2d2f24ad
      Trond Myklebust 提交于
      Replace the union with the common struct stateid4 as defined in both
      RFC3530 and RFC5661. This makes it easier to access the sequence id,
      which will again make implementing support for parallel OPEN calls
      easier.
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      2d2f24ad