summaryrefslogtreecommitdiff
path: root/firmware/isci
diff options
context:
space:
mode:
authorHillf Danton <dhillf@gmail.com>2011-11-15 14:36:12 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2011-11-15 22:41:52 -0200
commitea4039a34c4c206d015d34a49d0b00868e37db1d (patch)
tree1c7c38a83e0765f717f11079c573bb94f7445b77 /firmware/isci
parent66e13e66b6c4e5b2ecd6225e1f8437640cfb6498 (diff)
downloadlinux-3.10-ea4039a34c4c206d015d34a49d0b00868e37db1d.tar.gz
linux-3.10-ea4039a34c4c206d015d34a49d0b00868e37db1d.tar.bz2
linux-3.10-ea4039a34c4c206d015d34a49d0b00868e37db1d.zip
hugetlb: release pages in the error path of hugetlb_cow()
If we fail to prepare an anon_vma, the {new, old}_page should be released, or they will leak. Signed-off-by: Hillf Danton <dhillf@gmail.com> Reviewed-by: Andrea Arcangeli <aarcange@redhat.com> Cc: Hugh Dickins <hughd@google.com> Cc: Johannes Weiner <jweiner@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'firmware/isci')
0 files changed, 0 insertions, 0 deletions