commit | 4d04c70754eec6d0fd342a5bc3f684db69cc2226 | [log] [tgz] |
---|---|---|
author | Roel Kluin <roel.kluin@gmail.com> | Mon Sep 21 17:04:11 2009 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Sep 22 07:17:45 2009 -0700 |
tree | 4001855784fddcec748e2f9754933a537d04c7d4 | |
parent | db4e5cbe2f201c6abd51f7dfe41dbd2589affeba [diff] |
uml: fix order of pud and pmd_free() If pmd_alloc() fails we should only free the prior allocated pud, if pte_alloc_map() fails, we should free pmd as well. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Cc: Jeff Dike <jdike@addtoit.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>