[Ocfs2-commits] khackel commits r2134 - trunk/fs/ocfs2/dlm
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Mon Apr 11 23:13:08 CDT 2005
Author: khackel
Signed-off-by: mfasheh
Date: 2005-04-11 23:13:06 -0500 (Mon, 11 Apr 2005)
New Revision: 2134
Modified:
trunk/fs/ocfs2/dlm/dlmdomain.c
Log:
* moves spinlock to fix bug 358
Signed-off-by: mfasheh
Modified: trunk/fs/ocfs2/dlm/dlmdomain.c
===================================================================
--- trunk/fs/ocfs2/dlm/dlmdomain.c 2005-04-12 00:52:46 UTC (rev 2133)
+++ trunk/fs/ocfs2/dlm/dlmdomain.c 2005-04-12 04:13:06 UTC (rev 2134)
@@ -328,8 +328,8 @@
/* HACK! this should absolutely go.
* need to figure out why some empty
* lockreses are still marked dirty */
+ spin_lock(&res->spinlock);
dlm_shuffle_lists(dlm, res);
- spin_lock(&res->spinlock);
list_del_init(&res->dirty);
res->state &= ~DLM_LOCK_RES_DIRTY;
spin_unlock(&res->spinlock);
More information about the Ocfs2-commits
mailing list