]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btrfs: pass btrfs_io_geometry to is_single_device_io
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>
Mon, 16 Dec 2024 08:10:41 +0000 (09:10 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 13 Jan 2025 13:53:16 +0000 (14:53 +0100)
commit63e5f9df7cac7a5bf5da9ce6c36364d74be85f55
tree266c065086b8824caa0d78962fc41a6aa261d63f
parent9c48bcec47c8dd36b66ce1363c29c6a39612f7ad
btrfs: pass btrfs_io_geometry to is_single_device_io

Now that we have the stripe tree decision saved in struct
btrfs_io_geometry we can pass it into is_single_device_io() and get rid of
another call to btrfs_need_raid_stripe_tree_update().

Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/volumes.c