]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
bcachefs: Fix permissions on version modparam
authorKent Overstreet <kent.overstreet@linux.dev>
Fri, 28 Mar 2025 15:03:14 +0000 (11:03 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Fri, 28 Mar 2025 15:13:23 +0000 (11:13 -0400)
There's no reason for this not to be world readable - it provides the
currently supported on disk format version.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/super.c

index 99f9a0aaa380bf5662b8429eba16094468a6e0ee..64432233303ab3b31f84c82e386bd35f27aaddd7 100644 (file)
@@ -2259,7 +2259,7 @@ BCH_DEBUG_PARAMS()
 
 __maybe_unused
 static unsigned bch2_metadata_version = bcachefs_metadata_version_current;
-module_param_named(version, bch2_metadata_version, uint, 0400);
+module_param_named(version, bch2_metadata_version, uint, 0444);
 
 module_exit(bcachefs_exit);
 module_init(bcachefs_init);