block: fix sysfs module parameters directory path in comment
diff mbox series

Message ID 1563281975-6353-1-git-send-email-akinobu.mita@gmail.com
State New
Headers show
Series
  • block: fix sysfs module parameters directory path in comment
Related show

Commit Message

Akinobu Mita July 16, 2019, 12:59 p.m. UTC
The runtime configurable module parameter files are located under
/sys/module/MODULENAME/parameters, not /sys/module/MODULENAME.

Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
---
 block/genhd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jens Axboe July 16, 2019, 4:16 p.m. UTC | #1
On 7/16/19 6:59 AM, Akinobu Mita wrote:
> The runtime configurable module parameter files are located under
> /sys/module/MODULENAME/parameters, not /sys/module/MODULENAME.

Applied, thanks.

Patch
diff mbox series

diff --git a/block/genhd.c b/block/genhd.c
index d8c71a4..73a4999 100644
--- a/block/genhd.c
+++ b/block/genhd.c
@@ -1971,7 +1971,7 @@  static const struct attribute *disk_events_attrs[] = {
  * The default polling interval can be specified by the kernel
  * parameter block.events_dfl_poll_msecs which defaults to 0
  * (disable).  This can also be modified runtime by writing to
- * /sys/module/block/events_dfl_poll_msecs.
+ * /sys/module/block/parameters/events_dfl_poll_msecs.
  */
 static int disk_events_set_dfl_poll_msecs(const char *val,
 					  const struct kernel_param *kp)