diff options
-rw-r--r-- | fs/dlm/debug_fs.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/fs/dlm/debug_fs.c b/fs/dlm/debug_fs.c index 3bf460894088..eea64912c9c0 100644 --- a/fs/dlm/debug_fs.c +++ b/fs/dlm/debug_fs.c | |||
@@ -279,7 +279,7 @@ static void print_format3(struct dlm_rsb *r, struct seq_file *s) | |||
279 | print_name = 0; | 279 | print_name = 0; |
280 | } | 280 | } |
281 | 281 | ||
282 | seq_printf(s, "%s", print_name ? "str " : "hex"); | 282 | seq_puts(s, print_name ? "str " : "hex"); |
283 | 283 | ||
284 | for (i = 0; i < r->res_length; i++) { | 284 | for (i = 0; i < r->res_length; i++) { |
285 | if (print_name) | 285 | if (print_name) |
@@ -353,7 +353,7 @@ static void print_format4(struct dlm_rsb *r, struct seq_file *s) | |||
353 | print_name = 0; | 353 | print_name = 0; |
354 | } | 354 | } |
355 | 355 | ||
356 | seq_printf(s, "%s", print_name ? "str " : "hex"); | 356 | seq_puts(s, print_name ? "str " : "hex"); |
357 | 357 | ||
358 | for (i = 0; i < r->res_length; i++) { | 358 | for (i = 0; i < r->res_length; i++) { |
359 | if (print_name) | 359 | if (print_name) |
@@ -390,23 +390,21 @@ static int table_seq_show(struct seq_file *seq, void *iter_ptr) | |||
390 | break; | 390 | break; |
391 | case 2: | 391 | case 2: |
392 | if (ri->header) { | 392 | if (ri->header) { |
393 | seq_printf(seq, "id nodeid remid pid xid exflags " | 393 | seq_puts(seq, "id nodeid remid pid xid exflags flags sts grmode rqmode time_ms r_nodeid r_len r_name\n"); |
394 | "flags sts grmode rqmode time_ms " | ||
395 | "r_nodeid r_len r_name\n"); | ||
396 | ri->header = 0; | 394 | ri->header = 0; |
397 | } | 395 | } |
398 | print_format2(ri->rsb, seq); | 396 | print_format2(ri->rsb, seq); |
399 | break; | 397 | break; |
400 | case 3: | 398 | case 3: |
401 | if (ri->header) { | 399 | if (ri->header) { |
402 | seq_printf(seq, "version rsb 1.1 lvb 1.1 lkb 1.1\n"); | 400 | seq_puts(seq, "version rsb 1.1 lvb 1.1 lkb 1.1\n"); |
403 | ri->header = 0; | 401 | ri->header = 0; |
404 | } | 402 | } |
405 | print_format3(ri->rsb, seq); | 403 | print_format3(ri->rsb, seq); |
406 | break; | 404 | break; |
407 | case 4: | 405 | case 4: |
408 | if (ri->header) { | 406 | if (ri->header) { |
409 | seq_printf(seq, "version 4 rsb 2\n"); | 407 | seq_puts(seq, "version 4 rsb 2\n"); |
410 | ri->header = 0; | 408 | ri->header = 0; |
411 | } | 409 | } |
412 | print_format4(ri->rsb, seq); | 410 | print_format4(ri->rsb, seq); |