summaryrefslogtreecommitdiffstats
path: root/mm/internal.h
diff options
context:
space:
mode:
authorDean Nelson2010-10-26 23:22:08 +0200
committerLinus Torvalds2010-10-27 01:52:11 +0200
commit44e2aa937e698ea95dd86b2a4fabd734ef2c76db (patch)
tree691e3e8b04f486fe8a13fc43587c0144275e7c70 /mm/internal.h
parentmm: fix error reporting in move_pages() syscall (diff)
downloadkernel-qcow2-linux-44e2aa937e698ea95dd86b2a4fabd734ef2c76db.tar.gz
kernel-qcow2-linux-44e2aa937e698ea95dd86b2a4fabd734ef2c76db.tar.xz
kernel-qcow2-linux-44e2aa937e698ea95dd86b2a4fabd734ef2c76db.zip
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>
Diffstat (limited to 'mm/internal.h')
0 files changed, 0 insertions, 0 deletions