[PATCH] fix return value after hugetlb mmap failure
At the moment no one uses is_aligned_hugepage_range or is_hugepage_only_range, but it is reasonable to assume they return true or false. On error we want to return -EINVAL back to userspace.
Showing
Please register or sign in to comment