]> git.baikalelectronics.ru Git - kernel.git/commit
nfs/blocklayout: remove cruft in bl_alloc_init_bio
authorChristoph Hellwig <hch@lst.de>
Tue, 26 Jan 2021 14:52:45 +0000 (15:52 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 27 Jan 2021 16:51:48 +0000 (09:51 -0700)
commit0b1ec875ede48a504731a0863c492d6f3e2dbaab
tree463aa23d03cced7973c778a0f52c928ce9a44446
parent7c12604d602711c3c637ba3aef7d6f4d4d22c84b
nfs/blocklayout: remove cruft in bl_alloc_init_bio

bio_alloc never returns NULL when it can sleep.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Acked-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/nfs/blocklayout/blocklayout.c