bio: improve kerneldoc documentation for bio_alloc_kiocb()
authorJens Axboe <axboe@kernel.dk>
Fri, 13 Aug 2021 13:53:09 +0000 (07:53 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 23 Aug 2021 19:45:40 +0000 (13:45 -0600)
commit3d5b3fbedad65088ec079a4c4d1a2f47e11ae1e7
tree3136cd16adaf61457d53c49a1453268917d32459
parent270a1c913ebd745ebee716af5f7215e1c2b30cc0
bio: improve kerneldoc documentation for bio_alloc_kiocb()

We're missing a description for the 'nr_vecs' parameter. While in there,
clarify that freeing a bio allocated through this function must be done
from process context.

Fixes: 1cbbd31c4ada ("bio: add allocation cache abstraction")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bio.c