summaryrefslogtreecommitdiff
path: root/fs/btrfs/btrfs_inode.h
diff options
context:
space:
mode:
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>2023-12-13 17:42:56 +0300
committerDavid Sterba <dsterba@suse.com>2023-12-16 01:03:58 +0300
commit02d05b6416b1f09a877c71c2761b45d1548d8856 (patch)
tree08dcedf005817baafe883c4016ae966477f7a3ee /fs/btrfs/btrfs_inode.h
parent96c36eaa7730081e5c946819e4dfad0f432c70f7 (diff)
downloadlinux-02d05b6416b1f09a877c71c2761b45d1548d8856.tar.xz
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>
Diffstat (limited to 'fs/btrfs/btrfs_inode.h')
0 files changed, 0 insertions, 0 deletions