* [PATCH] block: fix sysfs module parameters directory path in comment
@ 2019-07-16 12:59 Akinobu Mita
2019-07-16 16:16 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: Akinobu Mita @ 2019-07-16 12:59 UTC (permalink / raw)
To: linux-block; +Cc: Akinobu Mita, Jens Axboe
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(-)
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)
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-07-16 16:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-16 12:59 [PATCH] block: fix sysfs module parameters directory path in comment Akinobu Mita
2019-07-16 16:16 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).