]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] autofs4: panic after mount fail
authorIan Kent <raven@themaw.net>
Tue, 14 Nov 2006 10:03:29 +0000 (02:03 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Tue, 14 Nov 2006 17:09:27 +0000 (09:09 -0800)
commita743ba685a40476c3ca58888d91e8ec6b775656f
tree510db3f9141e0bf091eccaf7ef7a0db3c81338bb
parent8324f9a0780cf3a3f2a0bcb1cc8f31835d4ffedb
[PATCH] autofs4: panic after mount fail

Resolve the panic on failed mount of an autofs filesystem originally
reported by Mao Bibo.

It addresses two issues that happen after the mount fail.  The first a NULL
pointer reference to a field (pipe) in the autofs superblock info structure
and second the lack of super block cleanup by the autofs and autofs4
modules.

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/autofs/inode.c
fs/autofs/waitq.c
fs/autofs4/inode.c
fs/autofs4/waitq.c