1. 09 5月, 2007 1 次提交
  2. 17 2月, 2007 3 次提交
  3. 15 2月, 2007 1 次提交
  4. 27 1月, 2007 1 次提交
    • N
      [PATCH] knfsd: Fix type mismatch with filldir_t used by nfsd · a0ad13ef
      NeilBrown 提交于
      nfsd defines a type 'encode_dent_fn' which is much like 'filldir_t' except
      that the first pointer is 'struct readdir_cd *' rather than 'void *'.  It
      then casts encode_dent_fn points to 'filldir_t' as needed.  This hides any
      other type mismatches between the two such as the fact that the 'ino' arg
      recently changed from ino_t to u64.
      
      So: get rid of 'encode_dent_fn', get rid of the cast of the function type,
      change the first arg of various functions from 'struct readdir_cd *' to
      'void *', and live with the fact that we have a little less type checking
      on the calling of these functions now.  Less internal (to nfsd) checking
      offset by more external checking, which is more important.
      
      Thanks to Gabriel Paubert <paubert@iram.es> for discovering this and
      providing an initial patch.
      Signed-off-by: NGabriel Paubert <paubert@iram.es>
      Signed-off-by: NNeil Brown <neilb@suse.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      a0ad13ef
  5. 14 12月, 2006 1 次提交
  6. 21 10月, 2006 4 次提交
  7. 04 10月, 2006 6 次提交
  8. 23 6月, 2006 1 次提交
  9. 11 4月, 2006 3 次提交
  10. 24 3月, 2006 1 次提交
  11. 19 1月, 2006 2 次提交
  12. 07 11月, 2005 1 次提交
  13. 08 7月, 2005 3 次提交
    • N
      [PATCH] nfsd4: fix fh_expire_type · e34ac862
      NeilBrown 提交于
      After discussion at the recent NFSv4 bake-a-thon, I realized that my
      assumption that NFS4_FH_PERSISTENT required filehandles to persist was a
      misreading of the spec.  This also fixes an interoperability problem with the
      Solaris client.
      Signed-off-by: NJ. Bruce Fields <bfields@citi.umich.edu>
      Signed-off-by: NNeil Brown <neilb@cse.unsw.edu.au>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      e34ac862
    • N
      [PATCH] nfsd4: seqid comments · 7fb64cee
      NeilBrown 提交于
      Add some comments on the use of so_seqid, in an attempt to avoid some of the
      confusion outlined in the previous patch....
      Signed-off-by: NJ. Bruce Fields <bfields@citi.umich.edu>
      Signed-off-by: NNeil Brown <neilb@cse.unsw.edu.au>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      7fb64cee
    • N
      [PATCH] nfsd4: fix open_reclaim seqid · bd9aac52
      NeilBrown 提交于
      The sequence number we store in the sequence id is the last one we received
      from the client.  So on the next operation we'll check that the client gives
      us the next higher number.
      
      We increment sequence id's at the last moment, in encode, so that we're sure
      of knowing the right error return.  (The decision to increment the sequence id
      depends on the exact error returned.)
      
      However on the *first* use of a sequence number, if we set the sequence number
      to the one received from the client and then let the increment happen on
      encode, we'll be left with a sequence number one to high.
      
      For that reason, ENCODE_SEQID_OP_TAIL only increments the sequence id on
      *confirmed* stateowners.
      
      This creates a problem for open reclaims, which are confirmed on first use.
      Therefore the open reclaim code, as a special exception, *decrements* the
      sequence id, cancelling out the undesired increment on encode.  But this
      prevents the sequence id from ever being incremented in the case where
      multiple reclaims are sent with the same openowner.  Yuch!
      
      We could add another exception to the open reclaim code, decrementing the
      sequence id only if this is the first use of the open owner.
      
      But it's simpler by far to modify the meaning of the op_seqid field: instead
      of representing the previous value sent by the client, we take op_seqid, after
      encoding, to represent the *next* sequence id that we expect from the client.
      This eliminates the need for special-case handling of the first use of a
      stateowner.
      Signed-off-by: NJ. Bruce Fields <bfields@citi.umich.edu>
      Signed-off-by: NNeil Brown <neilb@cse.unsw.edu.au>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      bd9aac52
  14. 24 6月, 2005 3 次提交
  15. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4