WSL2-Linux-Kernel/fs/autofs4
Ian Kent a537055395 [PATCH] autofs4: NFY_NONE wait race fix
This patch fixes two problems.

First, the comparison of entries in the waitq.c was incorrect.

Second, the NFY_NONE check was incorrect. The test of whether the dentry
is mounted if ineffective, for example, if an expire fails then we could
wait forever on a non existant expire. The bug was identified by Jeff
Moyer.

The patch changes autofs4 to wait on expires only as this is all that's
needed.  If there is no existing wait when autofs4_wait is call with a type
of NFY_NONE it delays until either a wait appears or the the expire flag is
cleared.

Signed-off-by: Ian Kent <raven@themaw.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-05-15 11:20:54 -07:00
..
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
autofs_i.h [PATCH] autofs4: NFY_NONE wait race fix 2006-05-15 11:20:54 -07:00
expire.c [PATCH] autofs4: follow_link missing functionality 2006-03-27 08:44:41 -08:00
init.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
inode.c [PATCH] autofs4: proper prototype for autofs4_dentry_release() 2006-03-28 09:16:03 -08:00
root.c [PATCH] autofs4: NFY_NONE wait race fix 2006-05-15 11:20:54 -07:00
symlink.c [PATCH] Fix up symlink function pointers 2005-08-19 18:08:21 -07:00
waitq.c [PATCH] autofs4: NFY_NONE wait race fix 2006-05-15 11:20:54 -07:00