mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2025-04-19 20:58:31 +09:00
bcachefs: Print version_incompat_allowed on startup
Let users know if incompatible features aren't enabled Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
a06459657e
commit
14bcf982f4
@ -1013,6 +1013,11 @@ static void print_mount_opts(struct bch_fs *c)
|
||||
bch2_opt_to_text(&p, c, c->disk_sb.sb, opt, v, OPT_SHOW_MOUNT_STYLE);
|
||||
}
|
||||
|
||||
if (c->sb.version_incompat_allowed != c->sb.version) {
|
||||
prt_printf(&p, "\n allowing incompatible features above ");
|
||||
bch2_version_to_text(&p, c->sb.version_incompat_allowed);
|
||||
}
|
||||
|
||||
bch_info(c, "%s", p.buf);
|
||||
printbuf_exit(&p);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user