1. 02 2月, 2008 1 次提交
    • C
      SUNRPC: Use unsigned string lengths in xdr_decode_string_inplace · e5cff482
      Chuck Lever 提交于
      XDR strings, opaques, and net objects should all use unsigned lengths.
      To wit, RFC 4506 says:
      
      4.2.  Unsigned Integer
      
         An XDR unsigned integer is a 32-bit datum that encodes a non-negative
         integer in the range [0,4294967295].
      
       ...
      
      4.11.  String
      
         The standard defines a string of n (numbered 0 through n-1) ASCII
         bytes to be the number n encoded as an unsigned integer (as described
         above), and followed by the n bytes of the string.
      
      After this patch, xdr_decode_string_inplace now matches the other XDR
      string and array helpers that take a string length argument.  See:
      
      xdr_encode_opaque_fixed, xdr_encode_opaque, xdr_encode_array
      Signed-off-by: NChuck Lever <chuck.lever@oracle.com>
      Acked-By: NNeilBrown <neilb@suse.de>
      Signed-off-by: NJ. Bruce Fields <bfields@citi.umich.edu>
      e5cff482
  2. 10 10月, 2007 1 次提交
  3. 20 7月, 2007 1 次提交
  4. 06 12月, 2006 4 次提交
  5. 03 12月, 2006 1 次提交
  6. 17 10月, 2006 1 次提交
    • N
      [PATCH] knfsd: Allow lockd to drop replies as appropriate · d343fce1
      NeilBrown 提交于
      It is possible for the ->fopen callback from lockd into nfsd to find that an
      answer cannot be given straight away (an upcall is needed) and so the request
      has to be 'dropped', to be retried later.  That error status is not currently
      propagated back.
      
      So:
        Change nlm_fopen to return nlm error codes (rather than a private
        protocol) and define a new nlm_drop_reply code.
        Cause nlm_drop_reply to cause the rpc request to get rpc_drop_reply
        when this error comes back.
        Cause svc_process to drop a request which returns a status of
        rpc_drop_reply.
      
      [akpm@osdl.org: fix warning storm]
      Cc: Marc Eshel <eshel@almaden.ibm.com>
      Signed-off-by: NNeil Brown <neilb@suse.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      d343fce1
  7. 29 9月, 2006 1 次提交
  8. 09 6月, 2006 1 次提交
  9. 07 1月, 2006 2 次提交
  10. 24 9月, 2005 2 次提交
  11. 16 8月, 2005 1 次提交
  12. 23 6月, 2005 3 次提交
  13. 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