]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
btrfs: lift bio_set_dev from bio allocation helpers
authorDavid Sterba <dsterba@suse.com>
Tue, 18 Jun 2019 18:00:16 +0000 (20:00 +0200)
committerDavid Sterba <dsterba@suse.com>
Tue, 2 Jul 2019 10:30:51 +0000 (12:30 +0200)
commite749af443fa8dac67a896d38f5eca450a5b9026a
treeb838f6e369a0ffdccdacaffe8ac55a36b3ce61dd
parente1ea2beee284d8e434e51e60de9e157a18fe8b42
btrfs: lift bio_set_dev from bio allocation helpers

The block device is passed around for the only purpose to set it in new
bios. Move the assignment one level up. This is a preparatory patch for
further bdev cleanups.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/compression.c
fs/btrfs/extent_io.c
fs/btrfs/extent_io.h