aboutsummaryrefslogtreecommitdiffstats
path: root/fs/dlm/debug_fs.c
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2010-02-25 12:20:57 -0600
committerDavid Teigland <teigland@redhat.com>2010-02-26 12:15:54 -0600
commitb6fa8796b2da0390e9f4115e8789a01004fc1c9b (patch)
tree5bc3d1cea581b04d837c6cdb0fb5cd015f53f6fc /fs/dlm/debug_fs.c
parentdlm: Send lockspace name with uevents (diff)
downloadlinux-dev-b6fa8796b2da0390e9f4115e8789a01004fc1c9b.tar.xz
linux-dev-b6fa8796b2da0390e9f4115e8789a01004fc1c9b.zip
dlm: use bastmode in debugfs output
The bast mode that appears in the debugfs output should be useful on both master and process nodes. lkb_highbast is currently printed, and is only useful on the master node. lkb_bastmode is only useful on the process node. This patch sets lkb_bastmode on the master node as well, and uses that value in the debugfs print. Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/debug_fs.c')
-rw-r--r--fs/dlm/debug_fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dlm/debug_fs.c b/fs/dlm/debug_fs.c
index 375a2359b3bf..29d6139c35fc 100644
--- a/fs/dlm/debug_fs.c
+++ b/fs/dlm/debug_fs.c
@@ -256,7 +256,7 @@ static int print_format3_lock(struct seq_file *s, struct dlm_lkb *lkb,
lkb->lkb_status,
lkb->lkb_grmode,
lkb->lkb_rqmode,
- lkb->lkb_highbast,
+ lkb->lkb_bastmode,
rsb_lookup,
lkb->lkb_wait_type,
lkb->lkb_lvbseq,