diff options
author | Johannes Thumshirn <johannes.thumshirn@wdc.com> | 2021-11-18 11:58:13 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-11-21 15:44:12 +0300 |
commit | 02c5e9e992a221a2435b7f732aba3ac11784e7ac (patch) | |
tree | 84b9b8f3b4102af87c8f1ae38d750a8c40897079 /kernel/cgroup | |
parent | 19e32bd1cc37c34683a214242bee7a0b114831bd (diff) | |
download | linux-02c5e9e992a221a2435b7f732aba3ac11784e7ac.tar.xz |
btrfs: introduce btrfs_is_data_reloc_root
commit 37f00a6d2e9c97d6e7b5c3d47c49b714c3d0b99f upstream
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>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/cgroup')
0 files changed, 0 insertions, 0 deletions