summaryrefslogtreecommitdiffstats
path: root/fs/ext4/xattr_user.c
diff options
context:
space:
mode:
authorShen Feng <shen@cn.fujitsu.com>2008-07-11 19:27:31 -0400
committerTheodore Ts'o <tytso@mit.edu>2008-07-11 19:27:31 -0400
commit74767c5a2dca0a60676d60d36377a41f60ca42ba (patch)
tree96f7fa96682be3eb3b3f04c373260762d6a901aa /fs/ext4/xattr_user.c
parentfdf6c7a7683c6272e953a33358920e98a4d93cf0 (diff)
downloadop-kernel-dev-74767c5a2dca0a60676d60d36377a41f60ca42ba.zip
op-kernel-dev-74767c5a2dca0a60676d60d36377a41f60ca42ba.tar.gz
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_user.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud