diff options
author | Shen Feng <shen@cn.fujitsu.com> | 2008-07-11 19:27:31 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2008-07-11 19:27:31 -0400 |
commit | 74767c5a2dca0a60676d60d36377a41f60ca42ba (patch) | |
tree | 96f7fa96682be3eb3b3f04c373260762d6a901aa /fs/sysv | |
parent | fdf6c7a7683c6272e953a33358920e98a4d93cf0 (diff) | |
download | kernel_samsung_tuna-74767c5a2dca0a60676d60d36377a41f60ca42ba.zip kernel_samsung_tuna-74767c5a2dca0a60676d60d36377a41f60ca42ba.tar.gz kernel_samsung_tuna-74767c5a2dca0a60676d60d36377a41f60ca42ba.tar.bz2 |
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 <shen@cn.fujitsu.com>
Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Mingming Cao <cmm@us.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/sysv')
0 files changed, 0 insertions, 0 deletions