summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2019-07-16 14:59:35 +0200
committerJens Axboe <axboe@kernel.dk>2019-07-16 18:16:33 +0200
commit1624b0b200399bd6cd2b46ab3494738d1aef6b75 (patch)
tree3fc5f4635617ae1b9000920b3c59a47f14fc0fbd /block
parentblkcg: allow blkcg_policy->pd_stat() to print non-debug info too (diff)
downloadlinux-1624b0b200399bd6cd2b46ab3494738d1aef6b75.tar.xz
linux-1624b0b200399bd6cd2b46ab3494738d1aef6b75.zip
block: fix sysfs module parameters directory path in comment
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> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
-rw-r--r--block/genhd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/genhd.c b/block/genhd.c
index 97887e59f3b2..54f1f0d381f4 100644
--- a/block/genhd.c
+++ b/block/genhd.c
@@ -1969,7 +1969,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)