summaryrefslogtreecommitdiffstats
path: root/fs/ext4/super.c
diff options
context:
space:
mode:
authorZheng Liu <wenqing.lz@taobao.com>2013-02-18 06:31:07 +0100
committerTheodore Ts'o <tytso@mit.edu>2013-02-18 06:31:07 +0100
commit69eb33dc24dc44d1128aa5e82d0976c42b440c1a (patch)
treea20982f1fb23b94fe08e6034faea33ed81e4626f /fs/ext4/super.c
parentext4: lookup block mapping in extent status tree (diff)
downloadlinux-69eb33dc24dc44d1128aa5e82d0976c42b440c1a.tar.xz
linux-69eb33dc24dc44d1128aa5e82d0976c42b440c1a.zip
ext4: remove single extent cache
Single extent cache could be removed because we have extent status tree as a extent cache, and it would be better. Signed-off-by: Zheng Liu <wenqing.lz@taobao.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Cc: Jan kara <jack@suse.cz>
Diffstat (limited to '')
-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 ef6ac59e4961..d80bfe5ac11c 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -836,7 +836,6 @@ static struct inode *ext4_alloc_inode(struct super_block *sb)
return NULL;
ei->vfs_inode.i_version = 1;
- memset(&ei->i_cached_extent, 0, sizeof(struct ext4_ext_cache));
INIT_LIST_HEAD(&ei->i_prealloc_list);
spin_lock_init(&ei->i_prealloc_lock);
ext4_es_init_tree(&ei->i_es_tree);