WSL2-Linux-Kernel/fs/autofs4
Ian Kent 213614d583 autofs4: always use lookup for lookup
We need to be able to cope with the directory mutex being held during
->d_revalidate() in some cases, but not all cases, and not necessarily by
us.  Because we need to release the mutex when we call back to the daemon
to do perform a mount we must be sure that it is us who holds the mutex so
we must redirect mount requests to ->lookup() if the mutex is held.

Signed-off-by: Ian Kent <raven@themaw.net>
Cc: Sage Weil <sage@newdream.net>
Cc: Al Viro <viro@ZenIV.linux.org.uk>
Cc: Andreas Dilger <adilger@sun.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Yehuda Saheh <yehuda@newdream.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-12-16 07:19:58 -08: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: always use lookup for lookup 2009-12-16 07:19:58 -08:00
dev-ioctl.c headers: smp_lock.h redux 2009-07-12 12:22:34 -07:00
expire.c autofs4: always use lookup for lookup 2009-12-16 07:19:58 -08:00
init.c autofs4: add miscellaneous device for ioctls 2008-10-16 11:21:39 -07:00
inode.c autofs4: always use lookup for lookup 2009-12-16 07:19:58 -08:00
root.c autofs4: always use lookup for lookup 2009-12-16 07:19:58 -08:00
symlink.c [PATCH] mark struct inode_operations const 1 2007-02-12 09:48:46 -08:00
waitq.c autofs4: remove hashed check in validate_wait() 2009-06-09 16:59:03 -07:00