[Ocfs2-devel] [PATCH 5/5] ocfs2: Disable orphan scanning for local and hard-ro mounts

Joel Becker Joel.Becker at oracle.com
Thu Jul 9 17:51:49 PDT 2009


On Tue, Jul 07, 2009 at 05:22:12PM -0400, Jeff Mahoney wrote:
> Subject: 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.

	This patch is now part of the fixes branch of ocfs2.git.

Joel

-- 

"Conservative, n.  A statesman who is enamoured of existing evils,
 as distinguished from the Liberal, who wishes to replace them
 with others."
	- Ambrose Bierce, The Devil's Dictionary

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127



More information about the Ocfs2-devel mailing list