commit | 44e2aa937e698ea95dd86b2a4fabd734ef2c76db | [log] [tgz] |
---|---|---|
author | Dean Nelson <dnelson@redhat.com> | Tue Oct 26 14:22:08 2010 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Oct 26 16:52:11 2010 -0700 |
tree | 691e3e8b04f486fe8a13fc43587c0144275e7c70 | |
parent | 70384dc6dcc6aa76762200262820bdb8b724ecd5 [diff] |
mm/hugetlb.c: add missing spin_lock() to hugetlb_cow() Add missing spin_lock() of the page_table_lock before an error return in hugetlb_cow(). Callers of hugtelb_cow() expect it to be held upon return. Signed-off-by: Dean Nelson <dnelson@redhat.com> Cc: Mel Gorman <mel@csn.ul.ie> Cc: <stable@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>