commit | 1ecfd533f4c528b0b4cc5bc115c4c47f0b5e4828 | [log] [tgz] |
---|---|---|
author | Chen Gang <gang.chen@asianux.com> | Wed Sep 11 14:22:43 2013 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Sep 11 15:58:03 2013 -0700 |
tree | 5eb1a6053fe7999323ed7238e6cb4993652b05c5 | |
parent | 762216ab4e175f49d17bc7ad778c57b9028184e6 [diff] |
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>