Johannes Thumshirn 02d05b6416 btrfs: factor out helper for single device IO check
The check in btrfs_map_block() deciding if a particular I/O is targeting a
single device is getting more and more convoluted.

Factor out the check conditions into a helper function, with no functional
change otherwise.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2023-12-15 23:03:58 +01:00
..
2023-10-30 10:42:06 -10:00
2023-10-30 10:42:06 -10:00
2023-12-15 20:27:04 +01:00
2023-11-28 11:16:04 -08:00
2023-08-24 16:20:18 -07:00
2023-12-15 23:00:04 +01:00
2023-11-24 18:50:53 +01:00
2023-12-15 20:27:04 +01:00
2023-12-14 11:53:00 -08:00
2023-12-15 23:00:04 +01:00
2023-12-15 23:00:04 +01:00