Re: [PATCH] btrfs: sysfs: fix path of the "read_policy" module parameter in comment
Randy Dunlap <[email protected]>
| Newsgroups | org.kernel.vger.linux-btrfs,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> Acked-by: Randy Dunlap <[email protected]> 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