diff --git a/[refs] b/[refs] index 5795cab1d3c2..5196dc8af82e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 6ca7b13dea385484e2fcc89790b8030697c5014a +refs/heads/master: b17b35ec13adfeb0346d4b329110b14adc509327 diff --git a/trunk/fs/ext4/page-io.c b/trunk/fs/ext4/page-io.c index beacce11ac50..0f5dfe0e83e7 100644 --- a/trunk/fs/ext4/page-io.c +++ b/trunk/fs/ext4/page-io.c @@ -158,11 +158,8 @@ static void ext4_end_io_work(struct work_struct *work) ext4_io_end_t *ext4_init_io_end(struct inode *inode, gfp_t flags) { - ext4_io_end_t *io = NULL; - - io = kmem_cache_alloc(io_end_cachep, flags); + ext4_io_end_t *io = kmem_cache_zalloc(io_end_cachep, flags); if (io) { - memset(io, 0, sizeof(*io)); atomic_inc(&EXT4_I(inode)->i_ioend_count); io->inode = inode; INIT_WORK(&io->work, ext4_end_io_work);