summaryrefslogtreecommitdiffstats
path: root/fs/ext4/xattr_trusted.c
diff options
context:
space:
mode:
authorShen Feng <shen@cn.fujitsu.com>2008-07-12 01:27:31 +0200
committerTheodore Ts'o <tytso@mit.edu>2008-07-12 01:27:31 +0200
commit74767c5a2dca0a60676d60d36377a41f60ca42ba (patch)
tree96f7fa96682be3eb3b3f04c373260762d6a901aa /fs/ext4/xattr_trusted.c
parentext4: add error processing when calling ext4_mb_init_cache in mballoc (diff)
downloadlinux-74767c5a2dca0a60676d60d36377a41f60ca42ba.tar.xz
linux-74767c5a2dca0a60676d60d36377a41f60ca42ba.zip
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/ext4/xattr_trusted.c')
0 files changed, 0 insertions, 0 deletions