summaryrefslogtreecommitdiff
path: root/fs/btrfs/ulist.h
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2019-12-09 18:54:34 +0800
committerDavid Sterba <dsterba@suse.com>2020-01-20 16:40:56 +0100
commit57a0e67491914f6187b1847ee3b1a01a556b9238 (patch)
tree0fe13c135f0b1ff26cdb0401822327dd3dabdd1b /fs/btrfs/ulist.h
parentc23c77b097dc52d5c166720467a62058e4a3c058 (diff)
btrfs: tree-checker: Refactor root key check into separate function
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". Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ulist.h')
0 files changed, 0 insertions, 0 deletions