commit | 0785a9aacf9de9cd6a89a628b3b5d6b7e9ce5316 | [log] [tgz] |
---|---|---|
author | Qu Wenruo <wqu@suse.com> | Fri Aug 09 09:24:24 2019 +0800 |
committer | David Sterba <dsterba@suse.com> | Mon Sep 09 14:59:12 2019 +0200 |
tree | a751a9f57a0619023dd641f2f2d449dabeb70dbc | |
parent | e2406a6f13bdc7df43bf7e4e66cb06348daef618 [diff] |
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>