summaryrefslogtreecommitdiff
path: root/cmds-check.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-11-02 16:50:47 +0100
committerDavid Sterba <dsterba@suse.com>2016-11-09 13:47:31 +0100
commit87596654aebb9328afc03699a1d5ce690e12ec0f (patch)
tree71dcb9fd6d21aa009b4fe691f6324c344f6ddfdc /cmds-check.c
parent35985c152192818341ddecc6f2b69d5397f4597e (diff)
btrfs-progs: check: reorder fields in inode_backref for better packing
The structure size went from 56 bytes to 48, which could save some bytes in larger scale. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'cmds-check.c')
-rw-r--r--cmds-check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds-check.c b/cmds-check.c
index a1ebf0f4..a37c5f51 100644
--- a/cmds-check.c
+++ b/cmds-check.c
@@ -186,8 +186,8 @@ struct inode_backref {
unsigned int found_dir_index:1;
unsigned int found_inode_ref:1;
u8 filetype;
- int errors;
u8 ref_type;
+ int errors;
u64 dir;
u64 index;
u16 namelen;