Searched hist:"371 fdab1" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/hostfs/ |
H A D | hostfs_kern.c | 371fdab1 Wed Mar 27 05:47:14 CDT 2013 James Hogan <james.hogan@imgtec.com> 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> 371fdab1 Wed Mar 27 05:47:14 CDT 2013 James Hogan <james.hogan@imgtec.com> 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>
|