block: fix sysfs module parameters directory path in comment
PATCH 1/1 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 <[email protected]>
Signed-off-by Akinobu Mita <[email protected]>
--- block/genhd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
block/genhd.c +1 -1
@@ -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)
Signature · 1 line
2.7.4
Quoted 2 lines · Akinobu Mita
The runtime configurable module parameter files are located under
/sys/module/MODULENAME/parameters, not/sys/module/MODULENAME.
Applied, thanks.
Signature · 1 line
Jens Axboe