]> www.infradead.org Git - users/dwmw2/linux.git/commit
bcachefs: Don't set BCH_FEATURE_incompat_version_field unless requested
authorKent Overstreet <kent.overstreet@linux.dev>
Fri, 28 Feb 2025 20:58:30 +0000 (15:58 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sat, 1 Mar 2025 00:07:33 +0000 (19:07 -0500)
commit4a4f9b5c7c13601c4f1b3d8c607d7439e39f40d2
tree7124a0c6ca4e17dad05fa694d985f4805c0c73ac
parenteb54d2695b57426638fed0ec066ae17a18c4426c
bcachefs: Don't set BCH_FEATURE_incompat_version_field unless requested

We shouldn't be setting incompatible bits or the incompatible version
field unless explicitly request or allowed - otherwise we break mounting
with old kernels or userspace.

Reported-by: Dave Hansen <dave.hansen@linux.intel.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/super-io.c
fs/bcachefs/super-io.h