From: Naoya Horiguchi Date: Fri, 2 Jul 2010 05:47:20 +0000 (+0900) Subject: hugetlb: add missing unlock in avoidcopy path in hugetlb_cow() X-Git-Tag: v2.6.36-rc1~52^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28957a5467bab9ed51a237d21e31055fad987887;p=pandora-kernel.git hugetlb: add missing unlock in avoidcopy path in hugetlb_cow() This patch fixes possible deadlock in hugepage lock_page() by adding missing unlock_page(). libhugetlbfs test will hit this bug when the next patch in this patchset ("hugetlb, HWPOISON: move PG_HWPoison bit check") is applied. Signed-off-by: Naoya Horiguchi Signed-off-by: Jun'ichi Nomura Acked-by: Fengguang Wu Signed-off-by: Andi Kleen --- Reading git-diff-tree failed