]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
bcachefs: Improve bch2_request_incompat_feature() message
authorKent Overstreet <kent.overstreet@linux.dev>
Sat, 3 May 2025 22:16:49 +0000 (18:16 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Thu, 22 May 2025 00:14:42 +0000 (20:14 -0400)
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/super-io.c

index 8730d2e78d1d8233a6560a642a5971c5e5ad7fb2..6687b9235d3c66b606a559b8b6966b12c51f257f 100644 (file)
@@ -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);