[PATCH] autofs4: pending flag not cleared on mount fail
commit44938af6e08580514abce8bea23ae1c034ea0b1d
authorIan Kent <raven@themaw.net>
Fri, 29 Sep 2006 09:00:54 +0000 (29 02:00 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 29 Sep 2006 16:18:18 +0000 (29 09:18 -0700)
tree98b23773af1a0a8482a09eb60f5dc4a732484d58
parentbe3ca7fecb1a9903c6253f49aec0af2a0f3a04e4
[PATCH] autofs4: pending flag not cleared on mount fail

During testing I've found that the mount pending flag can be left set at
exit from autofs4_lookup after a failed mount request.  This shouldn't be
allowed to happen and causes incorrect error returns.

Signed-off-by: Ian Kent <raven@themaw.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/autofs4/root.c