diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-03-21 04:34:11 +0100 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 23:09:28 +0200 |
commit | 74b33393db54dd321c807c621fad966eb9ec54e5 (patch) | |
tree | 598e0c8ae9467a2b7629670e09db36b66979ae1c /fs/bcachefs/super.c | |
parent | bcachefs: Fix large key cache keys (diff) | |
download | linux-74b33393db54dd321c807c621fad966eb9ec54e5.tar.xz linux-74b33393db54dd321c807c621fad966eb9ec54e5.zip |
bcachefs: x-macro metadata version enum
Now we've got strings for metadata versions - this changes
bch2_sb_to_text() and our mount log message to use it.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to '')
-rw-r--r-- | fs/bcachefs/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/super.c b/fs/bcachefs/super.c index 56b01624d5fb..e4201aecdba1 100644 --- a/fs/bcachefs/super.c +++ b/fs/bcachefs/super.c @@ -897,7 +897,7 @@ static void print_mount_opts(struct bch_fs *c) if (!p.pos) pr_buf(&p, "(null)"); - bch_info(c, "mounted with opts: %s", p.buf); + bch_info(c, "mounted version=%s opts=%s", bch2_metadata_versions[c->sb.version], p.buf); printbuf_exit(&p); } |