aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2007-05-06 14:50:18 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-07 12:12:57 -0700
commit5bc98594d59672303c4c9c07262ecc373dc374da (patch)
treebc9855b1448222819d75fb23e26fdcd09382e460 /mm
parentSlab allocators: remove useless __GFP_NO_GROW flag (diff)
downloadlinux-dev-5bc98594d59672303c4c9c07262ecc373dc374da.tar.xz
linux-dev-5bc98594d59672303c4c9c07262ecc373dc374da.zip
hugetlbfs: add NULL check in hugetlb_zero_setup()
If hugetlbfs module_init() fails, hugetlbfs_vfsmount is not initialized and shmget() with SHM_HUGETLB flag will cause NULL pointer dereference. Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Acked-by: William Irwin <wli@holomorphy.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions