[Ocfs2-commits] mfasheh commits r2721 - trunk/fs/ocfs2

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Wed Dec 7 19:49:32 CST 2005


Author: mfasheh
Signed-off-by: jlbec
Date: 2005-12-07 19:49:31 -0600 (Wed, 07 Dec 2005)
New Revision: 2721

Modified:
   trunk/fs/ocfs2/dlmglue.c
Log:
* Properly shutdown the vote thread on dlm initialization error.

Signed-off-by: jlbec



Modified: trunk/fs/ocfs2/dlmglue.c
===================================================================
--- trunk/fs/ocfs2/dlmglue.c	2005-12-07 08:00:30 UTC (rev 2720)
+++ trunk/fs/ocfs2/dlmglue.c	2005-12-08 01:49:31 UTC (rev 2721)
@@ -2116,8 +2116,11 @@
 
 	status = 0;
 bail:
-	if (status < 0)
+	if (status < 0) {
 		ocfs2_dlm_shutdown_debug(osb);
+		if (osb->vote_task)
+			kthread_stop(osb->vote_task);
+	}
 
 	mlog_exit(status);
 	return status;



More information about the Ocfs2-commits mailing list