fs: rcu-walk aware d_revalidate method
authorNick Piggin <npiggin@kernel.dk>
Fri, 7 Jan 2011 06:49:57 +0000 (17:49 +1100)
committerNick Piggin <npiggin@kernel.dk>
Fri, 7 Jan 2011 06:50:29 +0000 (17:50 +1100)
commit34286d6662308d82aed891852d04c7c3a2649b16
treec4b7311404d302e7cb94df7a4690298e1059910a
parent44a7d7a878c9cbb74f236ea755b25b6b2e26a9a9
fs: rcu-walk aware d_revalidate method

Require filesystems be aware of .d_revalidate being called in rcu-walk
mode (nd->flags & LOOKUP_RCU). For now do a simple push down, returning
-ECHILD from all implementations.

Signed-off-by: Nick Piggin <npiggin@kernel.dk>
27 files changed:
Documentation/filesystems/Locking
Documentation/filesystems/path-lookup.txt
Documentation/filesystems/porting
Documentation/filesystems/vfs.txt
drivers/staging/autofs/root.c
drivers/staging/smbfs/dir.c
fs/afs/dir.c
fs/autofs4/root.c
fs/ceph/dir.c
fs/cifs/dir.c
fs/coda/dir.c
fs/ecryptfs/dentry.c
fs/fat/namei_vfat.c
fs/fuse/dir.c
fs/gfs2/dentry.c
fs/hfs/sysdep.c
fs/jfs/namei.c
fs/namei.c
fs/ncpfs/dir.c
fs/ncpfs/inode.c
fs/nfs/dir.c
fs/ocfs2/dcache.c
fs/proc/base.c
fs/proc/proc_sysctl.c
fs/reiserfs/xattr.c
fs/sysfs/dir.c
include/linux/dcache.h