Skip to content
Commit 371fdab1 authored by James Hogan's avatar James Hogan Committed by Al Viro
Browse files

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: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarJames Hogan <james.hogan@imgtec.com>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 2b3b9bb0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment