1. 15 2月, 2008 6 次提交
  2. 08 2月, 2008 1 次提交
  3. 02 2月, 2008 3 次提交
    • J
      knfsd: don't bother mapping putrootfh enoent to eperm · f7b8066f
      J. Bruce Fields 提交于
      Neither EPERM and ENOENT map to valid errors for PUTROOTFH according to
      rfc 3530, and, if anything, ENOENT is likely to be slightly more
      informative; so don't bother mapping ENOENT to EPERM.  (Probably this
      was originally done because one likely cause was that there is an fsid=0
      export but that it isn't permitted to this particular client.  Now that
      we allow WRONGSEC returns, this is somewhat less likely.)
      
      In the long term we should work to make this situation less likely,
      perhaps by turning off nfsv4 service entirely in the absence of the
      pseudofs root, or constructing a pseudofilesystem root ourselves in the
      kernel as necessary.
      
      Thanks to Benny Halevy <bhalevy@panasas.com> for pointing out this
      problem.
      Signed-off-by: NJ. Bruce Fields <bfields@citi.umich.edu>
      Cc: Benny Halevy <bhalevy@panasas.com>
      f7b8066f
    • J
      knfsd: allow cache_register to return error on failure · dbf847ec
      J. Bruce Fields 提交于
      Newer server features such as nfsv4 and gss depend on proc to work, so a
      failure to initialize the proc files they need should be treated as
      fatal.
      
      Thanks to Andrew Morton for style fix and compile fix in case where
      CONFIG_NFSD_V4 is undefined.
      
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Acked-by: NNeilBrown <neilb@suse.de>
      Signed-off-by: NJ. Bruce Fields <bfields@citi.umich.edu>
      dbf847ec
    • J
      knfsd: cache unregistration needn't return error · df95a9d4
      J. Bruce Fields 提交于
      There's really nothing much the caller can do if cache unregistration
      fails.  And indeed, all any caller does in this case is print an error
      and continue.  So just return void and move the printk's inside
      cache_unregister.
      Acked-by: NNeilBrown <neilb@suse.de>
      Signed-off-by: NJ. Bruce Fields <bfields@citi.umich.edu>
      df95a9d4
  4. 22 10月, 2007 1 次提交
    • C
      exportfs: remove old methods · cfaea787
      Christoph Hellwig 提交于
      Now that all filesystems are converted remove support for the old methods.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Cc: Neil Brown <neilb@suse.de>
      Cc: "J. Bruce Fields" <bfields@fieldses.org>
      Cc: <linux-ext4@vger.kernel.org>
      Cc: Dave Kleikamp <shaggy@austin.ibm.com>
      Cc: Anton Altaparmakov <aia21@cantab.net>
      Cc: David Chinner <dgc@sgi.com>
      Cc: Timothy Shimmin <tes@sgi.com>
      Cc: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
      Cc: Hugh Dickins <hugh@veritas.com>
      Cc: Chris Mason <mason@suse.com>
      Cc: Jeff Mahoney <jeffm@suse.com>
      Cc: "Vladimir V. Saveliev" <vs@namesys.com>
      Cc: Steven Whitehouse <swhiteho@redhat.com>
      Cc: Mark Fasheh <mark.fasheh@oracle.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      cfaea787
  5. 17 10月, 2007 1 次提交
  6. 01 8月, 2007 1 次提交
  7. 22 7月, 2007 1 次提交
  8. 20 7月, 2007 1 次提交
  9. 18 7月, 2007 10 次提交
  10. 10 5月, 2007 1 次提交
  11. 15 2月, 2007 2 次提交
    • T
      [PATCH] remove many unneeded #includes of sched.h · cd354f1a
      Tim Schmielau 提交于
      After Al Viro (finally) succeeded in removing the sched.h #include in module.h
      recently, it makes sense again to remove other superfluous sched.h includes.
      There are quite a lot of files which include it but don't actually need
      anything defined in there.  Presumably these includes were once needed for
      macros that used to live in sched.h, but moved to other header files in the
      course of cleaning it up.
      
      To ease the pain, this time I did not fiddle with any header files and only
      removed #includes from .c-files, which tend to cause less trouble.
      
      Compile tested against 2.6.20-rc2 and 2.6.20-rc2-mm2 (with offsets) on alpha,
      arm, i386, ia64, mips, powerpc, and x86_64 with allnoconfig, defconfig,
      allmodconfig, and allyesconfig as well as a few randconfigs on x86_64 and all
      configs in arch/arm/configs on arm.  I also checked that no new warnings were
      introduced by the patch (actually, some warnings are removed that were emitted
      by unnecessarily included header files).
      Signed-off-by: NTim Schmielau <tim@physik3.uni-rostock.de>
      Acked-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      cd354f1a
    • N
      [PATCH] knfsd: add some new fsid types · af6a4e28
      NeilBrown 提交于
      Add support for using a filesystem UUID to identify and export point in the
      filehandle.
      
      For NFSv2, this UUID is xor-ed down to 4 or 8 bytes so that it doesn't take up
      too much room.  For NFSv3+, we use the full 16 bytes, and possibly also a
      64bit inode number for exports beneath the root of a filesystem.
      
      When generating an fsid to return in 'stat' information, use the UUID (hashed
      down to size) if it is available and a small 'fsid' was not specifically
      provided.
      Signed-off-by: NNeil Brown <neilb@suse.de>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      af6a4e28
  12. 31 1月, 2007 1 次提交
  13. 14 12月, 2006 4 次提交
  14. 21 10月, 2006 1 次提交
  15. 04 10月, 2006 4 次提交
  16. 02 10月, 2006 2 次提交