ext4: remove redundant code in ext4_alloc_inode()
authorGuo Chao <yan@linux.vnet.ibm.com>
Mon, 10 Dec 2012 19:06:04 +0000 (14:06 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 10 Dec 2012 19:06:04 +0000 (14:06 -0500)
commita789f49c9272e81f4f52487e94820182d0a2d2ff
treebcd9f5b9810c73392b98529b3733af06752808f6
parent64744e03c6871e5e4678478bab1b8c3ba6cca395
ext4: remove redundant code in ext4_alloc_inode()

inode_init_always() will initialize inode->i_data.writeback_index
anyway, no need to do this in ext4_alloc_inode().

Signed-off-by: Guo Chao <yan@linux.vnet.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Reviewed-by: Lukas Czerner <lczerner@redhat.com>
fs/ext4/super.c