From c86ddf3cb6c5d52e3509ff4c2326f51fd98014e2 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Sun, 31 May 2015 00:21:27 -0500 Subject: [PATCH] Save memory by consolidating inode flags --- include/wimlib/inode.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/wimlib/inode.h b/include/wimlib/inode.h index 20e1b5cc..f9b97cf8 100644 --- a/include/wimlib/inode.h +++ b/include/wimlib/inode.h @@ -127,16 +127,16 @@ struct wim_inode { struct hlist_node i_hlist; /* Number of dentries that are aliases for this inode. */ - u32 i_nlink; + u32 i_nlink : 30; /* Flag used to mark this inode as visited; this is used when visiting * all the inodes in a dentry tree exactly once. It will be 0 by * default and must be cleared following the tree traversal, even in * error paths. */ - u8 i_visited : 1; + u32 i_visited : 1; /* Cached value */ - u8 i_can_externally_back : 1; + u32 i_can_externally_back : 1; /* If not NULL, a pointer to the extra data that was read from the * dentry. This should be a series of tagged items, each of which -- 2.43.0