Re: [PATCH 3/4] btrfs: tree-checker: Refactor root key check into separate function

Nikolay Borisov
2019-12-09T12:12:51Z

On 9.12.19 г. 12:54 ч., Qu Wenruo wrote:
> ROOT_ITEM key check itself is not as simple as single line check, and
> will be reused for both ROOT_ITEM and DIR_ITEM/DIR_INDEX location key
> check, so refactor such check into check_root_key().
>
> Also since we are here, fix a comment error about ROOT_ITEM offset,
> which is transid of snapshot creation, not some "older kernel behavior".
>
> Signed-off-by: Qu Wenruo <wqu@suse.com>

Reviewed-by : Nikolay Borisov <nborisov@suse.com>