diff options
author | Heinz Mauelshagen <heinzm@redhat.com> | 2023-02-07 01:58:05 +0300 |
---|---|---|
committer | Mike Snitzer <snitzer@kernel.org> | 2023-02-14 22:23:07 +0300 |
commit | 6a808034724b5a36f8e0b712427bfbe9e667d296 (patch) | |
tree | 153452236cf90bfa3d21764c90c023347ae544b7 /drivers/md/dm-stats.c | |
parent | 1c13188669282dac48f1e67d77f07a746a4899d7 (diff) | |
download | linux-6a808034724b5a36f8e0b712427bfbe9e667d296.tar.xz |
dm: avoid using symbolic permissions
Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'drivers/md/dm-stats.c')
-rw-r--r-- | drivers/md/dm-stats.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-stats.c b/drivers/md/dm-stats.c index 128045de20f0..c21a19ab73f7 100644 --- a/drivers/md/dm-stats.c +++ b/drivers/md/dm-stats.c @@ -1247,5 +1247,5 @@ void dm_statistics_exit(void) DMCRIT("shared_memory_amount leaked: %lu", shared_memory_amount); } -module_param_named(stats_current_allocated_bytes, shared_memory_amount, ulong, S_IRUGO); +module_param_named(stats_current_allocated_bytes, shared_memory_amount, ulong, 0444); MODULE_PARM_DESC(stats_current_allocated_bytes, "Memory currently used by statistics"); |