[DLM] Compile fix
authorSteven Whitehouse <swhiteho@redhat.com>
Tue, 29 May 2007 10:14:21 +0000 (11:14 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 9 Jul 2007 07:22:49 +0000 (08:22 +0100)
A one liner fix which got missed from the earlier patches.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Cc: Fabio Massimo Di Nitto <fabbione@ubuntu.com>
Cc: David Teigland <teigland@redhat.com>
fs/dlm/lock.c

index b47e6fd0172ce3b4533ac19ed42c9358b3924bea..2f8a5a700cc0c81bc02cb0a78fb74aef18368748 100644 (file)
@@ -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;