diff options
author | Qu Wenruo <wqu@suse.com> | 2019-10-04 17:31:32 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-11-18 12:46:53 +0100 |
commit | 80d7fd1e09822daf8d94d46c6f9a17e7e34cf0b4 (patch) | |
tree | 7e38dda1675b048bf8bcde6e302cabfc3fe955ac /lib/test_user_copy.c | |
parent | dbb70becde5b28940366ee419e0fdd3e09af44fb (diff) |
btrfs: tree-checker: Refactor prev_key check for ino into a function
Refactor the check for prev_key->objectid of the following key types
into one function, check_prev_ino():
- EXTENT_DATA
- INODE_REF
- DIR_INDEX
- DIR_ITEM
- XATTR_ITEM
Also add the check of prev_key for INODE_REF.
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 'lib/test_user_copy.c')
0 files changed, 0 insertions, 0 deletions