]> git.baikalelectronics.ru Git - kernel.git/commit
nilfs2: remove nilfs_alloc_seg_bio
authorChristoph Hellwig <hch@lst.de>
Mon, 24 Jan 2022 09:10:50 +0000 (10:10 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 2 Feb 2022 14:49:59 +0000 (07:49 -0700)
commitebaadb2493d2a6a8c6f83b7883b050224cb10bd1
tree12a49ba2fc9f6be83eca80cbb80b98c8249f6bb7
parent065199488142c2c68d64125acbba936570dc8ac6
nilfs2: remove nilfs_alloc_seg_bio

bio_alloc will never fail when it can sleep.  Remove the now simple
nilfs_alloc_seg_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-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/nilfs2/segbuf.c