From: Jeff Mahoney Date: Tue, 7 Jul 2009 21:22:12 +0000 (-0400) Subject: ocfs2: Fixup orphan scan cleanup after failed mount X-Git-Tag: v2.6.31-rc6~5^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b712cd58adfe6aeeb0be4ecc011dc35620719e7;p=pandora-kernel.git ocfs2: Fixup orphan scan cleanup after failed mount If the mount fails for any reason, ocfs2_dismount_volume calls ocfs2_orphan_scan_stop. It requires that ocfs2_orphan_scan_init be called to setup the mutex and work queues, but that doesn't happen if the mount has failed and we oops accessing an uninitialized work queue. This patch splits the init and startup of the orphan scan, eliminating the oops. Signed-off-by: Jeff Mahoney Signed-off-by: Joel Becker --- Reading git-diff-tree failed