public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [patch 6/9] dlm: clear recovery flags
@ 2005-06-02  8:03 David Teigland
  2005-06-02  8:19 ` Arjan van de Ven
  0 siblings, 1 reply; 3+ messages in thread
From: David Teigland @ 2005-06-02  8:03 UTC (permalink / raw)
  To: akpm, linux-kernel

[-- Attachment #1: clear-recovery-flags.patch --]
[-- Type: text/plain, Size: 715 bytes --]

At the start of recovery, all the recovery flags are cleared from the
previous recovery.  Two of them weren't being cleared.

Signed-off-by: David Teigland <teigland@redhat.com>

Index: linux/drivers/dlm/member.c
===================================================================
--- linux.orig/drivers/dlm/member.c	2005-06-02 12:28:30.000000000 +0800
+++ linux/drivers/dlm/member.c	2005-06-02 13:07:46.060566696 +0800
@@ -276,6 +276,8 @@
 	 */
 
 	dlm_recoverd_suspend(ls);
+	clear_bit(LSFL_LOCKS_VALID, &ls->ls_flags);
+	clear_bit(LSFL_ALL_LOCKS_VALID, &ls->ls_flags);
 	clear_bit(LSFL_DIR_VALID, &ls->ls_flags);
 	clear_bit(LSFL_ALL_DIR_VALID, &ls->ls_flags);
 	clear_bit(LSFL_NODES_VALID, &ls->ls_flags);

--


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-06-02  9:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-02  8:03 [patch 6/9] dlm: clear recovery flags David Teigland
2005-06-02  8:19 ` Arjan van de Ven
2005-06-02  9:30   ` David Teigland

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox