diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-31 23:43:47 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-11-05 13:12:08 -0500 |
commit | 59154f2c66ce5625bc00f3e66af7b71608e991f4 (patch) | |
tree | 3bbac65d44157543373f4fc17aef0c670671e6b4 /fs/bcachefs/sb-members.c | |
parent | bf61dcdfc12c3890c7a062cfcd46c443883defc9 (diff) | |
download | lwn-59154f2c66ce5625bc00f3e66af7b71608e991f4.tar.gz lwn-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/sb-members.c')
-rw-r--r-- | fs/bcachefs/sb-members.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/sb-members.c b/fs/bcachefs/sb-members.c index ab5de12eca4a..09d5453707fa 100644 --- a/fs/bcachefs/sb-members.c +++ b/fs/bcachefs/sb-members.c @@ -235,7 +235,7 @@ static void member_to_text(struct printbuf *out, prt_printf(out, "Last mount:"); prt_tab(out); if (m.last_mount) - pr_time(out, le64_to_cpu(m.last_mount)); + bch2_prt_datetime(out, le64_to_cpu(m.last_mount)); else prt_printf(out, "(never)"); prt_newline(out); |