summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/super-io.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-11-01 04:43:47 +0100
committerKent Overstreet <kent.overstreet@linux.dev>2023-11-05 19:12:08 +0100
commit59154f2c66ce5625bc00f3e66af7b71608e991f4 (patch)
tree3bbac65d44157543373f4fc17aef0c670671e6b4 /fs/bcachefs/super-io.c
parentbcachefs: CONFIG_BCACHEFS_DEBUG_TRANSACTIONS no longer defaults to y (diff)
downloadlinux-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.c2
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);