]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit04562443ad94b40b768268ed827d8d12ac9defcd
tree3136cd16adaf61457d53c49a1453268917d32459
parentdeaa1fbbf5e4281f9b15c378eefd9ffe1b02266f
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