* [PATCH] btrfs: sysfs: fix path of the "read_policy" module parameter in comment
@ 2026-06-21 7:46 Zenghui Yu
0 siblings, 0 replies; only message in thread
From: Zenghui Yu @ 2026-06-21 7:46 UTC (permalink / raw)
To: linux-btrfs, linux-kernel; +Cc: clm, dsterba, rdunlap, Zenghui Yu
The correct path of the "read_policy" module parameter should be
/sys/module/btrfs/parameters/read_policy. Fix it.
Signed-off-by: Zenghui Yu <zenghui.yu@linux.dev>
---
fs/btrfs/sysfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/btrfs/sysfs.c b/fs/btrfs/sysfs.c
index 0d14570c8bc2..39cb01ee441a 100644
--- a/fs/btrfs/sysfs.c
+++ b/fs/btrfs/sysfs.c
@@ -1336,7 +1336,7 @@ char *btrfs_get_mod_read_policy(void)
return read_policy;
}
-/* Set perms to 0, disable /sys/module/btrfs/parameter/read_policy interface. */
+/* Set perms to 0, disable /sys/module/btrfs/parameters/read_policy interface. */
module_param(read_policy, charp, 0);
MODULE_PARM_DESC(read_policy,
"Global read policy: pid (default), round-robin[:<min_contig_read>], devid[:<devid>]");
--
2.53.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-21 7:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-21 7:46 [PATCH] btrfs: sysfs: fix path of the "read_policy" module parameter in comment Zenghui Yu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox