diff options
author | Qu Wenruo <wqu@suse.com> | 2019-08-09 04:24:24 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-09-09 15:59:12 +0300 |
commit | 0785a9aacf9de9cd6a89a628b3b5d6b7e9ce5316 (patch) | |
tree | a751a9f57a0619023dd641f2f2d449dabeb70dbc /fs/btrfs/props.c | |
parent | e2406a6f13bdc7df43bf7e4e66cb06348daef618 (diff) | |
download | linux-0785a9aacf9de9cd6a89a628b3b5d6b7e9ce5316.tar.xz |
btrfs: tree-checker: Add EXTENT_DATA_REF check
EXTENT_DATA_REF is a little like DIR_ITEM which contains hash in its
key->offset.
This patch will check the following contents:
- Key->objectid
Basic alignment check.
- Hash
Hash of each extent_data_ref item must match key->offset.
- Offset
Basic alignment check.
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/props.c')
0 files changed, 0 insertions, 0 deletions