[Ocfs2-commits] khackel commits r2714 - trunk/fs/ocfs2/dlm
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Wed Dec 7 01:15:07 CST 2005
Author: khackel
Signed-off-by: mfasheh
Date: 2005-12-07 01:15:05 -0600 (Wed, 07 Dec 2005)
New Revision: 2714
Modified:
trunk/fs/ocfs2/dlm/dlmrecovery.c
Log:
* fixes bug621
* in dlm_lockres_master_requery, do not send message to self to avoid -ELOOP
Signed-off-by: mfasheh
Modified: trunk/fs/ocfs2/dlm/dlmrecovery.c
===================================================================
--- trunk/fs/ocfs2/dlm/dlmrecovery.c 2005-12-01 22:15:58 UTC (rev 2713)
+++ trunk/fs/ocfs2/dlm/dlmrecovery.c 2005-12-07 07:15:05 UTC (rev 2714)
@@ -1245,6 +1245,9 @@
spin_unlock(&dlm->spinlock);
while ((nodenum = dlm_node_iter_next(&iter)) >= 0) {
+ /* do not send to self */
+ if (nodenum == dlm->node_num)
+ continue;
ret = dlm_do_master_requery(dlm, res, nodenum, real_master);
if (ret < 0) {
mlog_errno(ret);
More information about the Ocfs2-commits
mailing list