]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: don't pass a bio to f2fs_target_device
authorChristoph Hellwig <hch@lst.de>
Mon, 28 Feb 2022 12:41:22 +0000 (14:41 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 9 Mar 2022 00:59:03 +0000 (17:59 -0700)
commit38d83242fe26ee192d9b5ea376a4d76ab93eb5bd
tree57b54ff13fac2a3ea150faf4186411b92a18d6a0
parent2c632a2046af77e6cad201fb7cc5553cf522f6a9
f2fs: don't pass a bio to f2fs_target_device

Set the bdev at bio allocation time by changing the f2fs_target_device
calling conventions, so that no bio needs to be passed in.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chao Yu <chao@kernel.org>
Link: https://lore.kernel.org/r/20220228124123.856027-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/f2fs/data.c
fs/f2fs/f2fs.h