Re: [PATCH 1/6] btrfs: introduce btrfs_is_data_reloc_root
From: Naohiro Aota <Naohiro.Aota@wdc.com>
Date: 2021-09-07 11:36:18
From: Naohiro Aota <Naohiro.Aota@wdc.com>
Date: 2021-09-07 11:36:18
On Fri, Sep 03, 2021 at 11:44:42PM +0900, Johannes Thumshirn wrote:
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. Signed-off-by: Johannes Thumshirn <redacted> ---
Looks good, Reviewed-by: Naohiro Aota <naohiro.aota@wdc.com>