author: Lukas Bulwahn <lukas.bulwahn@gmail.com> 2021-01-29 05:55:05 +0100
committer: Jens Axboe <axboe@kernel.dk> 2021-01-29 07:15:50 -0700
commit: 7f31bee3601986b66446acc83d9db57f21d764fd
parent: 6b4eeba331cd857701bcc28f4b688510b5d7a3e7
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/block/genhd.c b/block/genhd.c
index d3ef29fbc536..304f8dcc9a9b 100644
--- a/block/genhd.c
+++ b/block/genhd.c
@@ -1431,7 +1431,7 @@ static void set_disk_ro_uevent(struct gendisk *gd, int ro)
/**
* set_disk_ro - set a gendisk read-only
* @disk: gendisk to operate on
- * @ready_only: %true to set the disk read-only, %false set the disk read/write
+ * @read_only: %true to set the disk read-only, %false set the disk read/write
*
* This function is used to indicate whether a given disk device should have its
* read-only flag set. set_disk_ro() is typically used by device drivers to