diff options
author | 2021-09-09 01:19:25 +0900 | |
---|---|---|
committer | 2021-10-26 19:08:01 +0200 | |
commit | 37f00a6d2e9c97d6e7b5c3d47c49b714c3d0b99f (patch) | |
tree | edac1c035442c95075e598b2efd14f66f858a12e /tools/perf/scripts/python/stackcollapse.py | |
parent | btrfs: unexport repair_io_failure() (diff) | |
download | wireguard-linux-37f00a6d2e9c97d6e7b5c3d47c49b714c3d0b99f.tar.xz wireguard-linux-37f00a6d2e9c97d6e7b5c3d47c49b714c3d0b99f.zip |
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 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions