Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: James Hogan <[email protected]> Signed-off-by: Al Viro <[email protected]>
- Loading branch information