summaryrefslogtreecommitdiffstats
path: root/fs/ext4/super.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2011-01-10 18:12:36 +0100
committerTheodore Ts'o <tytso@mit.edu>2011-01-10 18:12:36 +0100
commitf232109773ff5b0c840a6761d74940b9cf0d66ec (patch)
treea32da5ebd1a3e074e9f52107f3bdc23babb6340c /fs/ext4/super.c
parentext4: fix 32bit overflow in ext4_ext_find_goal() (diff)
downloadlinux-f232109773ff5b0c840a6761d74940b9cf0d66ec.tar.xz
linux-f232109773ff5b0c840a6761d74940b9cf0d66ec.zip
ext4: replace i_delalloc_reserved_flag with EXT4_STATE_DELALLOC_RESERVED
Remove the short element i_delalloc_reserved_flag from the ext4_inode_info structure and replace it a new bit in i_state_flags. Since we have an ext4_inode_info for every ext4 inode cached in the inode cache, any savings we can produce here is a very good thing from a memory utilization perspective. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/super.c')
-rw-r--r--fs/ext4/super.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 7728a4ca3d6c..f5960d673e4e 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -828,7 +828,6 @@ static struct inode *ext4_alloc_inode(struct super_block *sb)
ei->i_reserved_meta_blocks = 0;
ei->i_allocated_meta_blocks = 0;
ei->i_da_metadata_calc_len = 0;
- ei->i_delalloc_reserved_flag = 0;
spin_lock_init(&(ei->i_block_reservation_lock));
#ifdef CONFIG_QUOTA
ei->i_reserved_quota = 0;