OpenCloudOS-Kernel/fs/hostfs
James Hogan 371fdab100 hostfs: use kmalloc instead of kzalloc
The inode info structure is zeroed at allocation with kzalloc, and then
all but one of the fields (including the largest, vfs_inode) are
initialised explicitly. Switch to using kmalloc and initialise the
remaining field too.

Reported-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-05-04 15:48:45 -04:00
..
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hostfs.h um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
hostfs_kern.c hostfs: use kmalloc instead of kzalloc 2013-05-04 15:48:45 -04:00
hostfs_user.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00