From 35985c152192818341ddecc6f2b69d5397f4597e Mon Sep 17 00:00:00 2001 From: David Sterba Date: Wed, 2 Nov 2016 16:37:09 +0100 Subject: btrfs-progs: check: unify type for inode_backref::itemtype Signed-off-by: David Sterba --- cmds-check.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmds-check.c') 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; -- cgit v1.2.3