]> err.no Git - linux-2.6/commit
HFSPlus: change kmalloc/memset to kzalloc
authorWyatt Banks <wyatt@banksresearch.com>
Mon, 16 Jul 2007 06:40:50 +0000 (23:40 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 16 Jul 2007 16:05:46 +0000 (09:05 -0700)
commita5001a27802723d6de50d9d8a446d594116524b0
treed8ee0ccdf76b00305298d51c5c78d465092d1345
parentabd4aa5a97ebc0efb9a7fbc98ef0bcf39266fadf
HFSPlus: change kmalloc/memset to kzalloc

Removed kmalloc and memset in favor of kzalloc.

To explain the HFSPLUS_SB() macro in the removed memset call:

hfsplus_fs.h:#define HFSPLUS_SB(super)  (*(struct hfsplus_sb_info *)(super)->s_fs_info)

Signed-off-by: Wyatt Banks <wyatt@banksresearch.com>
Cc: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/hfsplus/super.c