]> git.baikalelectronics.ru Git - kernel.git/commit
nilfs2: remove cruft in nilfs_alloc_seg_bio
authorChristoph Hellwig <hch@lst.de>
Tue, 26 Jan 2021 14:52:46 +0000 (15:52 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 27 Jan 2021 16:51:48 +0000 (09:51 -0700)
commit95a9838b95c3a82989a1df1c4cd0e3007ac6f4f8
treeea25e1c9bee305d4f4fd04293f623b5fe71fb691
parent65845395b83b859a4eb82e0b459dd282dcf758a6
nilfs2: remove cruft in nilfs_alloc_seg_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/nilfs2/segbuf.c