diff options
author | David Sterba <dsterba@suse.com> | 2016-11-02 16:37:09 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-11-09 13:47:31 +0100 |
commit | 35985c152192818341ddecc6f2b69d5397f4597e (patch) | |
tree | 22993b91b620732d3b3af58f50ca16cebb4ec1c9 /cmds-check.c | |
parent | b759702b678a286cd598e0031a8af45ddab061f2 (diff) |
btrfs-progs: check: unify type for inode_backref::itemtype
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'cmds-check.c')
-rw-r--r-- | cmds-check.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmds-check.c b/cmds-check.c index faa66073..a1ebf0f4 100644 --- a/cmds-check.c +++ b/cmds-check.c @@ -187,7 +187,7 @@ struct inode_backref { unsigned int found_inode_ref:1; u8 filetype; int errors; - unsigned int ref_type; + u8 ref_type; u64 dir; u64 index; u16 namelen; @@ -1067,7 +1067,7 @@ static struct inode_backref *get_inode_backref(struct inode_record *rec, static int add_inode_backref(struct cache_tree *inode_cache, u64 ino, u64 dir, u64 index, const char *name, int namelen, - u8 filetype, int itemtype, int errors) + u8 filetype, u8 itemtype, int errors) { struct inode_record *rec; struct inode_backref *backref; |