]> git.baikalelectronics.ru Git - kernel.git/commit
nfs/blocklayout: remove bl_alloc_init_bio
authorChristoph Hellwig <hch@lst.de>
Mon, 24 Jan 2022 09:10:51 +0000 (10:10 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 2 Feb 2022 14:49:59 +0000 (07:49 -0700)
commit3703feb79cfacb53df71f1b5324c9ac346d4e635
tree7a2407c3a1b798b127dab18201708b6821bd791c
parentebaadb2493d2a6a8c6f83b7883b050224cb10bd1
nfs/blocklayout: remove bl_alloc_init_bio

bio_alloc will never fail when it can sleep.  Remove the now simple
bl_alloc_init_bio helper and open code it in the only caller.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20220124091107.642561-4-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/nfs/blocklayout/blocklayout.c