summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2021-09-03 15:42:13 +0200
committerJens Axboe <axboe@kernel.dk>2021-09-03 15:42:13 +0200
commit0ef47db1cb64a9a226e8983e8b2691f8e1c02a37 (patch)
tree93d9c4ed101070bcde28673614898cac2a0c91a4 /block
parentblock, bfq: honor already-setup queue merges (diff)
downloadlinux-0ef47db1cb64a9a226e8983e8b2691f8e1c02a37.tar.xz
linux-0ef47db1cb64a9a226e8983e8b2691f8e1c02a37.zip
bio: fix kerneldoc documentation for bio_alloc_kiocb()
Apparently the last fixup got butter fingered a bit, the correct variable name is 'nr_vecs', not 'nr_iovecs'. Link: https://lore.kernel.org/lkml/20210903164939.02f6e8c5@canb.auug.org.au/ Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
-rw-r--r--block/bio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/bio.c b/block/bio.c
index e16849f46b0e..5df3dd282e40 100644
--- a/block/bio.c
+++ b/block/bio.c
@@ -1688,7 +1688,7 @@ EXPORT_SYMBOL(bioset_init_from_src);
/**
* bio_alloc_kiocb - Allocate a bio from bio_set based on kiocb
* @kiocb: kiocb describing the IO
- * @nr_iovecs: number of iovecs to pre-allocate
+ * @nr_vecs: number of iovecs to pre-allocate
* @bs: bio_set to allocate from
*
* Description: