mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 17:13:52 +02:00
bcachefs: Print features on startup with -o verbose
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
0dc73809e9
commit
576493133f
|
|
@ -1054,6 +1054,11 @@ static void print_mount_opts(struct bch_fs *c)
|
|||
bch2_version_to_text(&p, c->sb.version_incompat_allowed);
|
||||
}
|
||||
|
||||
if (c->opts.verbose) {
|
||||
prt_printf(&p, "\n features: ");
|
||||
prt_bitflags(&p, bch2_sb_features, c->sb.features);
|
||||
}
|
||||
|
||||
bch_info(c, "%s", p.buf);
|
||||
printbuf_exit(&p);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user