projects
/
platform
/
upstream
/
btrfs-progs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b759702
)
btrfs-progs: check: unify type for inode_backref::itemtype
author
David Sterba
<dsterba@suse.com>
Wed, 2 Nov 2016 15:37:09 +0000
(16:37 +0100)
committer
David Sterba
<dsterba@suse.com>
Wed, 9 Nov 2016 12:47:31 +0000
(13:47 +0100)
Signed-off-by: David Sterba <dsterba@suse.com>
cmds-check.c
patch
|
blob
|
history
diff --git
a/cmds-check.c
b/cmds-check.c
index
faa6607
..
a1ebf0f
100644
(file)
--- 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;
- u
nsigned int
ref_type;
+ u
8
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;