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>
Fri, 13 Aug 2021 13:53:09 +0000 (07:53 -0600)
commit13b17703b0be19f2054ce51022a2b34da759ab73
tree80f3938293453360a3117506a0914b0adee5cb32
parent6e2e645a2467fe43bb76a2cb6f5702f39b9e6334
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