ext4: use kmem_cache_zalloc() in ext4_init_io_end()
authorJesper Juhl <jj@chaosbits.net>
Mon, 20 Dec 2010 02:41:55 +0000 (21:41 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 20 Dec 2010 02:41:55 +0000 (21:41 -0500)
commitb17b35ec13adfeb0346d4b329110b14adc509327
tree4780d5dfb23a7c01a438f3680709ac1b849eabb1
parent6ca7b13dea385484e2fcc89790b8030697c5014a
ext4: use kmem_cache_zalloc() in ext4_init_io_end()

Use advantage of kmem_cache_zalloc() to remove a memset() call in
ext4_init_io_end() and save a few bytes.

Before:
 [jj@dragon linux-2.6]$ size fs/ext4/page-io.o
    text    data     bss     dec     hex filename
    3016       0     624    3640     e38 fs/ext4/page-io.o
After:
 [jj@dragon linux-2.6]$ size fs/ext4/page-io.o
    text    data     bss     dec     hex filename
    3000       0     624    3624     e28 fs/ext4/page-io.o

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/page-io.c