Skip to content

Commit 5beebc1

Browse files
Alexander Aringteigland
authored andcommitted
dlm: update format header reflect current format
Over the time the dlm debugfs format string has been changed but the header wasn't updated. This patch changes the first line dump header and their meaning to reflect the current formats. Signed-off-by: Alexander Aring <[email protected]> Signed-off-by: David Teigland <[email protected]>
1 parent 367e753 commit 5beebc1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fs/dlm/debug_fs.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,14 +443,14 @@ static int table_seq_show(struct seq_file *seq, void *iter_ptr)
443443
break;
444444
case 3:
445445
if (ri->header) {
446-
seq_puts(seq, "version rsb 1.1 lvb 1.1 lkb 1.1\n");
446+
seq_puts(seq, "rsb ptr nodeid first_lkid flags !root_list_empty !recover_list_empty recover_locks_count len\n");
447447
ri->header = 0;
448448
}
449449
print_format3(ri->rsb, seq);
450450
break;
451451
case 4:
452452
if (ri->header) {
453-
seq_puts(seq, "version 4 rsb 2\n");
453+
seq_puts(seq, "rsb ptr nodeid master_nodeid dir_nodeid our_nodeid toss_time flags len str|hex name\n");
454454
ri->header = 0;
455455
}
456456
print_format4(ri->rsb, seq);

0 commit comments

Comments
 (0)