From: Kent Overstreet Date: Sat, 3 May 2025 22:16:49 +0000 (-0400) Subject: bcachefs: Improve bch2_request_incompat_feature() message X-Git-Tag: v6.16-rc1~211^2~106 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=00757984d55e769a108fee6cfabee1b289c9516f;p=thirdparty%2Fkernel%2Flinux.git bcachefs: Improve bch2_request_incompat_feature() message Signed-off-by: Kent Overstreet --- diff --git a/fs/bcachefs/super-io.c b/fs/bcachefs/super-io.c index 8730d2e78d1d8..6687b9235d3c6 100644 --- a/fs/bcachefs/super-io.c +++ b/fs/bcachefs/super-io.c @@ -87,7 +87,8 @@ int bch2_set_version_incompat(struct bch_fs *c, enum bcachefs_metadata_version v struct printbuf buf = PRINTBUF; prt_str(&buf, "requested incompat feature "); bch2_version_to_text(&buf, version); - prt_str(&buf, " currently not enabled"); + prt_str(&buf, " currently not enabled, allowed up to "); + bch2_version_to_text(&buf, version); prt_printf(&buf, "\n set version_upgrade=incompat to enable"); bch_notice(c, "%s", buf.buf);