diff options
author | Qu Wenruo <wqu@suse.com> | 2019-12-09 18:54:33 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-01-20 16:40:56 +0100 |
commit | c23c77b097dc52d5c166720467a62058e4a3c058 (patch) | |
tree | 1353358a0fd836131a31234bff7a4634cbd22e94 /fs/binfmt_misc.c | |
parent | c3053ebb0b8044d8360db0f6717f8fdcbde8c370 (diff) | |
download | linux-c23c77b097dc52d5c166720467a62058e4a3c058.tar.gz linux-c23c77b097dc52d5c166720467a62058e4a3c058.tar.bz2 linux-c23c77b097dc52d5c166720467a62058e4a3c058.zip |
btrfs: tree-checker: Refactor inode key check into seperate function
Inode key check is not as easy as several lines, and it will be called
in more than one location (INODE_ITEM check and
DIR_ITEM/DIR_INDEX/XATTR_ITEM location key check).
So here refactor such check into check_inode_key(). And add extra
checks for XATTR_ITEM.
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/binfmt_misc.c')
0 files changed, 0 insertions, 0 deletions