]> 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)
commit4320a33d91881449e1608389c8627c0d287e859a
tree12a49ba2fc9f6be83eca80cbb80b98c8249f6bb7
parentcb6106d9505bec3a231cb0dfce2d64b2c6a21cab
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