Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]>

 fs/reiser4/init_super.c | 19283 -> 19246 (-37 bytes)
 fs/reiser4/init_super.o | 155348 -> 155152 (-196 bytes)

 fs/reiser4/init_super.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

--- linux-2.6.23-rc1-mm1-a/fs/reiser4/init_super.c      2007-07-26 
13:07:46.000000000 +0200
+++ linux-2.6.23-rc1-mm1-b/fs/reiser4/init_super.c      2007-07-30 
00:00:32.000000000 +0200
@@ -17,14 +17,13 @@ int reiser4_init_fs_info(struct super_bl
 {
        reiser4_super_info_data *sbinfo;

-       sbinfo = kmalloc(sizeof(reiser4_super_info_data),
+       sbinfo = kzalloc(sizeof(reiser4_super_info_data),
                         reiser4_ctx_gfp_mask_get());
        if (!sbinfo)
                return RETERR(-ENOMEM);

        super->s_fs_info = sbinfo;
        super->s_op = NULL;
-       memset(sbinfo, 0, sizeof(*sbinfo));

        ON_DEBUG(INIT_LIST_HEAD(&sbinfo->all_jnodes));
        ON_DEBUG(spin_lock_init(&sbinfo->all_guard));
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to