From: Hugh Dickins Date: Mon, 6 Jun 2011 05:03:13 +0000 (-0700) Subject: mm: fix ENOSPC returned by handle_mm_fault() X-Git-Tag: v3.0-rc2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0dcd8a05be438b3d2e49ef61441ea3a463663f8;p=pandora-kernel.git mm: fix ENOSPC returned by handle_mm_fault() Al Viro observes that in the hugetlb case, handle_mm_fault() may return a value of the kind ENOSPC when its caller is expecting a value of the kind VM_FAULT_SIGBUS: fix alloc_huge_page()'s failure returns. Signed-off-by: Hugh Dickins Acked-by: Al Viro Cc: stable@kernel.org Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed