]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: pass a block_device to btrfs_bio_clone
authorChristoph Hellwig <hch@lst.de>
Mon, 4 Apr 2022 04:45:24 +0000 (06:45 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 16 May 2022 15:03:12 +0000 (17:03 +0200)
commit3ec45162ae805368c9c2484a7bb4c39d4f5550f3
tree0bd9fc3d92ee8606aaf5e0a8b7b99289a39f84e6
parentb32f85e6530b8a1b2c9380c982f76d07e154af3b
btrfs: pass a block_device to btrfs_bio_clone

Pass the block_device to bio_alloc_clone instead of setting it later.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.c
fs/btrfs/extent_io.h
fs/btrfs/volumes.c