• Andrew Morton's avatar
    [PATCH] Fix memory leak in hugetlbfs · b2a51555
    Andrew Morton authored
    From: "Chen, Kenneth W" <kenneth.w.chen@intel.com>
    
    The hugetlbfs_fill_super() doesn't free up memory allocated for sbinfo on
    the way out in case of parsing error (and a few others).  This leads to
    memory leak If root tries to mount a hugetlbfs with invalid mount option.
    Here is a patch that fix the problem.
    b2a51555
inode.c 18.8 KB