summaryrefslogtreecommitdiffstats
path: root/fs/ext4/super.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-01-04 12:31:52 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2010-01-04 12:31:52 -0800
commite43c259777999d19532cf418ca69ce1288b42edc (patch)
treed8fa5de63560d13917df4843f70a73189f77a33d /fs/ext4/super.c
parent3e8d95d95eaf4b332f6e1862ffbaa80c24780767 (diff)
parent9d0be50230b333005635967f7ecd4897dbfd181b (diff)
downloadlinux-e43c259777999d19532cf418ca69ce1288b42edc.tar.gz
linux-e43c259777999d19532cf418ca69ce1288b42edc.tar.bz2
linux-e43c259777999d19532cf418ca69ce1288b42edc.zip
Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4
* 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4: ext4: Calculate metadata requirements more accurately ext4: Fix accounting of reserved metadata blocks
Diffstat (limited to 'fs/ext4/super.c')
-rw-r--r--fs/ext4/super.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 7cccb35c0f4d..735c20d5fd56 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -702,6 +702,7 @@ static struct inode *ext4_alloc_inode(struct super_block *sb)
ei->i_reserved_data_blocks = 0;
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