From: Shen Feng Date: Fri, 11 Jul 2008 23:27:31 +0000 (-0400) Subject: ext4: miscellaneous error checks and coding cleanups for mballoc X-Git-Tag: v2.6.27-rc1~1087^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74767c5a2dca0a60676d60d36377a41f60ca42ba;p=pandora-kernel.git ext4: miscellaneous error checks and coding cleanups for mballoc ext4_mb_seq_history_open(): check if sbi->s_mb_history is NULL ext4_mb_history_init(): replace kmalloc and memset with kzalloc ext4_mb_init_backend(): remove memset since kzalloc is used ext4_mb_init(): the return value of ext4_mb_init_backend is int, but i is unsigned, replace it with a new int variable. Signed-off-by: Shen Feng Reviewed-by: Aneesh Kumar K.V Signed-off-by: Mingming Cao Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed