Skip to content

Commit 0ef47db

Browse files
committed
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/[email protected]/ Reported-by: Stephen Rothwell <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
1 parent 2d52c58 commit 0ef47db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

block/bio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1688,7 +1688,7 @@ EXPORT_SYMBOL(bioset_init_from_src);
16881688
/**
16891689
* bio_alloc_kiocb - Allocate a bio from bio_set based on kiocb
16901690
* @kiocb: kiocb describing the IO
1691-
* @nr_iovecs: number of iovecs to pre-allocate
1691+
* @nr_vecs: number of iovecs to pre-allocate
16921692
* @bs: bio_set to allocate from
16931693
*
16941694
* Description:

0 commit comments

Comments
 (0)