[LinuxPPS] 9 May 21:57 - NFS: Remove redundant check in nfs_check_verifier()

linuxpps: Trond Myklebust <> webmaster at enneenne.com
Fri May 11 23:45:10 CEST 2007


NFS: Remove redundant check in nfs_check_verifier()  
  
The check for nfs_attribute_timeout(dir) in nfs_check_verifier is  
redundant: nfs_lookup_revalidate() will already call nfs_revalidate_inode()  
on the parent dir when necessary.  
  
The only case where this is not done is the case of a negative dentry. Fix  
this case by moving up the revalidation code.  
  
Signed-off-by: Trond Myklebust   
  
fs/nfs/dir.c

URL: http://gitweb.enneenne.com/?p=linuxpps;a=commit;h=e70c490810dc683fad39e57cf00e69d5f120c542



More information about the LinuxPPS mailing list