Commit ec6ace5d authored by Andrew Morton's avatar Andrew Morton Committed by Christoph Hellwig

[PATCH] hugetlbfs deadlock

Missing "unlock_page()" noticed by dada1
parent e4d188bb
......@@ -79,6 +79,7 @@ static int hugetlbfs_file_mmap(struct file *file, struct vm_area_struct *vma)
*/
static int hugetlbfs_readpage(struct file *file, struct page * page)
{
unlock_page(page);
return -EINVAL;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment