diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-11-01 04:43:47 +0100 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-11-05 19:12:08 +0100 |
commit | 59154f2c66ce5625bc00f3e66af7b71608e991f4 (patch) | |
tree | 3bbac65d44157543373f4fc17aef0c670671e6b4 /fs/bcachefs/super-io.c | |
parent | bcachefs: CONFIG_BCACHEFS_DEBUG_TRANSACTIONS no longer defaults to y (diff) | |
download | linux-59154f2c66ce5625bc00f3e66af7b71608e991f4.tar.xz linux-59154f2c66ce5625bc00f3e66af7b71608e991f4.zip |
bcachefs: bch2_prt_datetime()
Improved, better named version of pr_time().
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/super-io.c')
-rw-r--r-- | fs/bcachefs/super-io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/super-io.c b/fs/bcachefs/super-io.c index cceedd2bc68d..f4cad903f4d6 100644 --- a/fs/bcachefs/super-io.c +++ b/fs/bcachefs/super-io.c @@ -1183,7 +1183,7 @@ void bch2_sb_to_text(struct printbuf *out, struct bch_sb *sb, prt_printf(out, "Created:"); prt_tab(out); if (sb->time_base_lo) - pr_time(out, div_u64(le64_to_cpu(sb->time_base_lo), NSEC_PER_SEC)); + bch2_prt_datetime(out, div_u64(le64_to_cpu(sb->time_base_lo), NSEC_PER_SEC)); else prt_printf(out, "(not set)"); prt_newline(out); |