diff options
| author | Hillf Danton <[email protected]> | 2011-11-15 22:36:12 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2011-11-16 00:41:52 +0000 |
| commit | ea4039a34c4c206d015d34a49d0b00868e37db1d (patch) | |
| tree | 1c7c38a83e0765f717f11079c573bb94f7445b77 /lib/debugobjects.c | |
| parent | drivers/firmware/dmi_scan.c: make dmi_name_in_vendors more focused (diff) | |
| download | kernel-ea4039a34c4c206d015d34a49d0b00868e37db1d.tar.gz kernel-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 <[email protected]>
Reviewed-by: Andrea Arcangeli <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: Johannes Weiner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
