[Cluster-devel] [PATCH] [DLM] Compile fix

swhiteho at redhat.com swhiteho at redhat.com
Mon Jul 9 16:02:25 UTC 2007


From: Steven Whitehouse <swhiteho at redhat.com>

A one liner fix which got missed from the earlier patches.

Signed-off-by: Steven Whitehouse <swhiteho at redhat.com>
Cc: Fabio Massimo Di Nitto <fabbione at ubuntu.com>
Cc: David Teigland <teigland at redhat.com>

diff --git a/fs/dlm/lock.c b/fs/dlm/lock.c
index b47e6fd..2f8a5a7 100644
--- a/fs/dlm/lock.c
+++ b/fs/dlm/lock.c
@@ -1098,7 +1098,7 @@ void dlm_scan_timeout(struct dlm_ls *ls)
 		}
 
 		if (do_cancel) {
-			log_debug(r->res_ls, "timeout cancel %x node %d %s",
+			log_debug(ls, "timeout cancel %x node %d %s",
 				  lkb->lkb_id, lkb->lkb_nodeid, r->res_name);
 			lkb->lkb_flags &= ~DLM_IFL_WATCH_TIMEWARN;
 			lkb->lkb_flags |= DLM_IFL_TIMEOUT_CANCEL;
-- 
1.5.1.2




More information about the Cluster-devel mailing list