linux/fs/autofs4
David Howells ab90911ff9 Allow d_manage() to be used in RCU-walk mode
Allow d_manage() to be called from pathwalk when it is in RCU-walk mode as well
as when it is in Ref-walk mode.  This permits __follow_mount_rcu() to call
d_manage() directly.  d_manage() needs a parameter to indicate that it is in
RCU-walk mode as it isn't allowed to sleep if in that mode (but should return
-ECHILD instead).

autofs4_d_manage() can then be set to retain RCU-walk mode if the daemon
accesses it and otherwise request dropping back to ref-walk mode.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2011-01-15 20:07:47 -05:00
..
Kconfig fs/Kconfig: move autofs, autofs4 out 2009-01-22 13:15:54 +03:00
Makefile autofs4: add miscellaneous device for ioctls 2008-10-16 11:21:39 -07:00
autofs_i.h autofs4: Clean up dentry operations 2011-01-15 20:07:41 -05:00
dev-ioctl.c Add a dentry op to allow processes to be held during pathwalk transit 2011-01-15 20:07:31 -05:00
expire.c autofs4: Add d_manage() dentry operation 2011-01-15 20:07:38 -05:00
init.c convert get_sb_nodev() users 2010-10-29 04:16:31 -04:00
inode.c autofs4: Clean up autofs4_free_ino() 2011-01-15 20:07:42 -05:00
root.c Allow d_manage() to be used in RCU-walk mode 2011-01-15 20:07:47 -05:00
symlink.c [PATCH] mark struct inode_operations const 1 2007-02-12 09:48:46 -08:00
waitq.c autofs4: Fix wait validation 2011-01-15 20:07:43 -05:00