1. 04 8月, 2006 1 次提交
  2. 09 6月, 2006 4 次提交
    • D
      NFS: Split fs/nfs/inode.c · f7b422b1
      David Howells 提交于
      As fs/nfs/inode.c is rather large, heterogenous and unwieldy, the attached
      patch splits it up into a number of files:
      
       (*) fs/nfs/inode.c
      
           Strictly inode specific functions.
      
       (*) fs/nfs/super.c
      
           Superblock management functions for NFS and NFS4, normal access, clones
           and referrals.  The NFS4 superblock functions _could_ move out into a
           separate conditionally compiled file, but it's probably not worth it as
           there're so many common bits.
      
       (*) fs/nfs/namespace.c
      
           Some namespace-specific functions have been moved here.
      
       (*) fs/nfs/nfs4namespace.c
      
           NFS4-specific namespace functions (this could be merged into the previous
           file).  This file is conditionally compiled.
      
       (*) fs/nfs/internal.h
      
           Inter-file declarations, plus a few simple utility functions moved from
           fs/nfs/inode.c.
      
           Additionally, all the in-.c-file externs have been moved here, and those
           files they were moved from now includes this file.
      
      For the most part, the functions have not been changed, only some multiplexor
      functions have changed significantly.
      
      I've also:
      
       (*) Added some extra banner comments above some functions.
      
       (*) Rearranged the function order within the files to be more logical and
           better grouped (IMO), though someone may prefer a different order.
      
       (*) Reduced the number of #ifdefs in .c files.
      
       (*) Added missing __init and __exit directives.
      Signed-Off-By: NDavid Howells <dhowells@redhat.com>
      f7b422b1
    • M
      NFSv4: Follow a referral · 6b97fd3d
      Manoj Naik 提交于
      Respond to a moved error on NFS lookup by setting up the referral.
      Note: We don't actually follow the referral during lookup/getattr, but
      later when we detect fsid mismatch in inode revalidation (similar to the
      processing done for cloning submounts). Referrals will have fake attributes
      until they are actually followed or traversed.
      Signed-off-by: NManoj Naik <manoj@almaden.ibm.com>
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      6b97fd3d
    • T
      NFS: Add timeout to submounts · 51d8fa6a
      Trond Myklebust 提交于
      Make automounted partitions expire using the mark_mounts_for_expiry()
      function. The timeout is controlled via a sysctl.
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      51d8fa6a
    • T