summaryrefslogtreecommitdiff
path: root/fs/btrfs/zoned.c
diff options
context:
space:
mode:
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>2021-09-09 01:19:25 +0900
committerDavid Sterba <dsterba@suse.com>2021-10-26 19:08:01 +0200
commit37f00a6d2e9c97d6e7b5c3d47c49b714c3d0b99f (patch)
treeedac1c035442c95075e598b2efd14f66f858a12e /fs/btrfs/zoned.c
parent38d5e541dd29af347d14346b41b0bbb30976b566 (diff)
btrfs: introduce btrfs_is_data_reloc_root
There are several places in our codebase where we check if a root is the root of the data reloc tree and subsequent patches will introduce more. Factor out the check into a small helper function instead of open coding it multiple times. Reviewed-by: Naohiro Aota <naohiro.aota@wdc.com> 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/zoned.c')
0 files changed, 0 insertions, 0 deletions