ext4: drop i_state_flags on architectures with 64-bit longs
authorTheodore Ts'o <tytso@mit.edu>
Mon, 10 Jan 2011 17:18:25 +0000 (12:18 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 10 Jan 2011 17:18:25 +0000 (12:18 -0500)
commit353eb83c1422c6326eaab30ce044a179c6018169
treefd43e39b344de5ee43d82c90f0affda68a65f2df
parent8a2005d3f84457b7d7d8646ab5195341d9e5f06a
ext4: drop i_state_flags on architectures with 64-bit longs

We can store the dynamic inode state flags in the high bits of
EXT4_I(inode)->i_flags, and eliminate i_state_flags.  This saves 8
bytes from the size of ext4_inode_info structure, which when
multiplied by the number of the number of in the inode cache, can save
a lot of memory.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/ext4.h
fs/ext4/ialloc.c
fs/ext4/inode.c