summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2013-03-27 10:47:14 +0000
committerAl Viro <viro@zeniv.linux.org.uk>2013-05-04 15:48:45 -0400
commit371fdab10033528c42f64fc244c30d67b15e529d (patch)
treea034feee1863945b7c6aeba6d5cfa98dcba58d91 /mm
parent2b3b9bb03a9fb1e4c72947cc235771c6455ec7c9 (diff)
downloadlinux-stable-371fdab10033528c42f64fc244c30d67b15e529d.tar.gz
linux-stable-371fdab10033528c42f64fc244c30d67b15e529d.tar.bz2
linux-stable-371fdab10033528c42f64fc244c30d67b15e529d.zip
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>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions