mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-09 00:00:04 +03:00
cmd_list_journal: Make output more readable
This puts a blank line before log entries, which are used to denote the start of a transaction commit. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
This commit is contained in:
parent
733a17f637
commit
59abea5776
@ -664,8 +664,9 @@ int cmd_list_journal(int argc, char *argv[])
|
||||
* log entries denote the start of a new transaction
|
||||
* commit:
|
||||
*/
|
||||
pr_indent_push(&buf,
|
||||
entry->type == BCH_JSET_ENTRY_log ? 2 : 4);
|
||||
if (entry->type == BCH_JSET_ENTRY_log)
|
||||
pr_newline(&buf);
|
||||
pr_indent_push(&buf, 4);
|
||||
bch2_journal_entry_to_text(&buf, c, entry);
|
||||
|
||||
if (blacklisted)
|
||||
|
Loading…
Reference in New Issue
Block a user