android_kernel_xiaomi_sm8350/fs/autofs4
Ian Kent cc9acc8858 [PATCH] autofs4: post expire race fix
At the tail end of an expire it's possible for a process to enter
autofs4_wait, with a waitq type of NFY_NONE but find that the expire is
finished.  In this cause autofs4_wait will try to create a new wait but not
notify the daemon leading to a hang.  As the wait type is meant to delay mount
requests from revalidate or lookup during an expire and the expire is done all
we need to do is check if the dentry is a mountpoint.  If it's not then we're
done.

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
..
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
inode.c [PATCH] autofs4: tree race fix 2005-05-01 08:59:17 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
root.c [PATCH] autofs4: avoid panic on bind mount of autofs owned directory 2005-06-21 19:07:35 -07:00
symlink.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
waitq.c [PATCH] autofs4: post expire race fix 2005-06-21 19:07:35 -07:00