]> Git Repo - linux.git/commitdiff
dlm: update format header reflect current format
authorAlexander Aring <[email protected]>
Wed, 20 Dec 2023 19:38:59 +0000 (14:38 -0500)
committerDavid Teigland <[email protected]>
Wed, 20 Dec 2023 21:36:48 +0000 (15:36 -0600)
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]>
fs/dlm/debug_fs.c

index c587bfadeff43e0c9b90e40b03507064ca8f9035..4fa11d9ddbb6863d4b9f31eb0c099e146a890589 100644 (file)
@@ -443,14 +443,14 @@ static int table_seq_show(struct seq_file *seq, void *iter_ptr)
                break;
        case 3:
                if (ri->header) {
-                       seq_puts(seq, "version rsb 1.1 lvb 1.1 lkb 1.1\n");
+                       seq_puts(seq, "rsb ptr nodeid first_lkid flags !root_list_empty !recover_list_empty recover_locks_count len\n");
                        ri->header = 0;
                }
                print_format3(ri->rsb, seq);
                break;
        case 4:
                if (ri->header) {
-                       seq_puts(seq, "version 4 rsb 2\n");
+                       seq_puts(seq, "rsb ptr nodeid master_nodeid dir_nodeid our_nodeid toss_time flags len str|hex name\n");
                        ri->header = 0;
                }
                print_format4(ri->rsb, seq);
This page took 0.057657 seconds and 4 git commands to generate.