summaryrefslogtreecommitdiff
path: root/mm/backing-dev.c
diff options
context:
space:
mode:
authorChen Gang <gang.chen@asianux.com>2013-09-11 14:22:43 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2013-09-11 15:58:03 -0700
commit1ecfd533f4c528b0b4cc5bc115c4c47f0b5e4828 (patch)
tree5eb1a6053fe7999323ed7238e6cb4993652b05c5 /mm/backing-dev.c
parent762216ab4e175f49d17bc7ad778c57b9028184e6 (diff)
downloadlwn-1ecfd533f4c528b0b4cc5bc115c4c47f0b5e4828.tar.gz
lwn-1ecfd533f4c528b0b4cc5bc115c4c47f0b5e4828.zip
mm/mremap.c: call pud_free() after fail calling pmd_alloc()
In alloc_new_pmd(), if pud_alloc() was called successfully, but pmd_alloc() fails, avoid leaking `pud'. Signed-off-by: Chen Gang <gang.chen@asianux.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/backing-dev.c')
0 files changed, 0 insertions, 0 deletions