From: Ian Kent Date: Thu, 24 Jul 2008 04:30:17 +0000 (-0700) Subject: autofs4: fix waitq locking X-Git-Tag: v2.6.27-rc1~635 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a11d4d0ee1ff284271f7265929d07ea4a1168a6;p=pandora-kernel.git autofs4: fix waitq locking The autofs4_catatonic_mode() function accesses the wait queue without any locking but can be called at any time. This could lead to a possible double free of the name field of the wait and a double fput of the daemon communication pipe or an fput of a NULL file pointer. Signed-off-by: Ian Kent Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed