WSL2-Linux-Kernel/fs/autofs4
Ian Kent 1684b2bba6 [PATCH] autofs4: bad lookup fix
For browsable autofs maps, a mount request that arrives at the same time an
expire is happening can fail to perform the needed mount.

This happens becuase the directory exists and so the revalidate succeeds when
we need it to fail so that lookup is called on the same dentry to do the
mount.  Instead lookup is called on the next path component which should be
whithin the mount, but the parent isn't mounted.

The solution is to allow the revalidate to continue and perform the mount as
no directory creation (at mount time) is needed for browsable mount entries.

Signed-off-by: Ian Kent <raven@themaw.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-06-21 19:07:35 -07:00
..
Makefile
autofs_i.h [PATCH] autofs4: avoid panic on bind mount of autofs owned directory 2005-06-21 19:07:35 -07:00
expire.c [PATCH] autofs4: avoid panic on bind mount of autofs owned directory 2005-06-21 19:07:35 -07:00
init.c
inode.c
root.c [PATCH] autofs4: bad lookup fix 2005-06-21 19:07:35 -07:00
symlink.c
waitq.c [PATCH] autofs4: post expire race fix 2005-06-21 19:07:35 -07:00