[Ocfs2-commits] mfasheh commits r1961 - trunk/fs/ocfs2
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Mon Mar 7 19:48:05 CST 2005
Author: mfasheh
Signed-off-by: manish
Date: 2005-03-07 19:48:03 -0600 (Mon, 07 Mar 2005)
New Revision: 1961
Modified:
trunk/fs/ocfs2/vote.c
Log:
* clear a nodes bit in the umount map if we get a mount message from
them.
Signed-off-by: manish
Modified: trunk/fs/ocfs2/vote.c
===================================================================
--- trunk/fs/ocfs2/vote.c 2005-03-08 01:41:26 UTC (rev 1960)
+++ trunk/fs/ocfs2/vote.c 2005-03-08 01:48:03 UTC (rev 1961)
@@ -130,6 +130,11 @@
* launched) are waiting on it.*/
ocfs_recovery_map_clear(osb, node_num);
ocfs_node_map_set_bit(osb, &osb->mounted_map, node_num);
+
+ /* We clear the umount map here because a node may have been
+ * previously mounted, safely unmounted but never stopped
+ * heartbeating - in which case we'd have a stale entry. */
+ ocfs_node_map_clear_bit(osb, &osb->umount_map, node_num);
}
static void ocfs2_process_umount_request(ocfs_super *osb,
More information about the Ocfs2-commits
mailing list