[Cluster-devel] [PATCH] dlm: fix compile breakage

David Teigland teigland at redhat.com
Tue May 22 13:32:27 UTC 2007


Fix compilation that broke when replacing log_error with log_debug.
Slightly better version that the last.

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

Index: linux-quilt/fs/dlm/lock.c
===================================================================
--- linux-quilt.orig/fs/dlm/lock.c	2007-05-18 15:53:11.000000000 -0500
+++ linux-quilt/fs/dlm/lock.c	2007-05-22 08:29:56.000000000 -0500
@@ -1098,8 +1098,8 @@
 		}
 
 		if (do_cancel) {
-			log_debug("timeout cancel %x node %d %s", lkb->lkb_id,
-				  lkb->lkb_nodeid, r->res_name);
+			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;
 			del_timeout(lkb);




More information about the Cluster-devel mailing list