fs/ocfs2/slot_map.c: replace count*size kzalloc by kcalloc
authorFabian Frederick <fabf@skynet.be>
Wed, 6 Aug 2014 23:04:01 +0000 (16:04 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 7 Aug 2014 01:01:13 +0000 (18:01 -0700)
commit1b7f8ba603d3bb2f5bbb65df981ae0d0abb80ee2
treea172b632b35c820d86d1bd3ad5e4b5b48d76a9c8
parentbba1cb17d9adb8c074f138c1cc039fb2ee8c964c
fs/ocfs2/slot_map.c: replace count*size kzalloc by kcalloc

kcalloc manages count*sizeof overflow.

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ocfs2/slot_map.c