mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] btrfs: sysfs: fix path of the "read_policy" module parameter in comment
@ 2026-06-21  7:46 Zenghui Yu
  2026-06-21 22:57 ` Randy Dunlap
  0 siblings, 1 reply; 2+ messages 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	[flat|nested] 2+ messages in thread

* Re: [PATCH] btrfs: sysfs: fix path of the "read_policy" module parameter in comment
  2026-06-21  7:46 [PATCH] btrfs: sysfs: fix path of the "read_policy" module parameter in comment Zenghui Yu
@ 2026-06-21 22:57 ` Randy Dunlap
  0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2026-06-21 22:57 UTC (permalink / raw)
  To: Zenghui Yu, linux-btrfs, linux-kernel; +Cc: clm, dsterba



On 6/21/26 12:46 AM, Zenghui Yu wrote:
> 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>

Acked-by: Randy Dunlap <rdunlap@infradead.org>
Thanks.

> ---
>  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>]");

-- 
~Randy

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-06-21 22:57 UTC | newest]

Thread overview: 2+ messages (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
2026-06-21 22:57 ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome