summaryrefslogtreecommitdiff
path: root/fs/hugetlbfs
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2019-08-09 04:24:23 +0300
committerDavid Sterba <dsterba@suse.com>2019-09-09 15:59:12 +0300
commite2406a6f13bdc7df43bf7e4e66cb06348daef618 (patch)
treee1e6afcec2d3b385010a0b261dfc676578ef4064 /fs/hugetlbfs
parentf82d1c7ca8ae1bf89e8d78c5ecb56b6b228c1a75 (diff)
downloadlinux-e2406a6f13bdc7df43bf7e4e66cb06348daef618.tar.xz
btrfs: tree-checker: Add simple keyed refs check
For TREE_BLOCK_REF, SHARED_DATA_REF and SHARED_BLOCK_REF we need to check: | TREE_BLOCK_REF | SHARED_BLOCK_REF | SHARED_BLOCK_REF --------------+----------------+-----------------+------------------ key->objectid | Alignment | Alignment | Alignment key->offset | Any value | Alignment | Alignment item_size | 0 | 0 | sizeof(le32) (*) *: sizeof(struct btrfs_shared_data_ref) So introduce a check to check all these 3 key types together. 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/hugetlbfs')
0 files changed, 0 insertions, 0 deletions