aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/bcachefs/super.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-03-28 11:03:14 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2025-03-28 11:13:23 -0400
commitc6c6a391097a6367cdbc663957010f03d9dbb361 (patch)
treed42a7d17407f204d19c7e75441f8c2b9aa40067a /fs/bcachefs/super.c
parentbcachefs: cond_resched() in journal_key_sort_cmp() (diff)
downloadwireguard-linux-c6c6a391097a6367cdbc663957010f03d9dbb361.tar.xz
wireguard-linux-c6c6a391097a6367cdbc663957010f03d9dbb361.zip
bcachefs: Fix permissions on version modparam
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>
Diffstat (limited to '')
-rw-r--r--fs/bcachefs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/super.c b/fs/bcachefs/super.c
index 99f9a0aaa380..64432233303a 100644
--- a/fs/bcachefs/super.c
+++ b/fs/bcachefs/super.c
@@ -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);