[PATCH] hugetlbfs i_size fix
Growing i_size in hugetlbfs_prefault() isn't right - if we run out of pages, do_mmap_pgoff() will chop the partially-instantiated pages off again. So update i_size in hugetlbfs_file_mmap() if the whole mmap attempt was successful.
Showing
Please register or sign in to comment