]> git.karo-electronics.de Git - karo-tx-linux.git/commit
thp: improve the error code path
authorShaohua Li <shaohua.li@intel.com>
Wed, 30 Nov 2011 04:11:59 +0000 (15:11 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 30 Nov 2011 04:14:05 +0000 (15:14 +1100)
commitf2f4595af556434aa19a12ff69372735f3c233ca
treeec09f5dc349d7f8f4617f7b7603ed5f9ee445ccf
parent231cb6532cc8dbf8fd5fd4d8231e486f4c8d1662
thp: improve the error code path

Improve the error code path.  Delete unnecessary sysfs file for example.
Also remove the #ifdef xxx to make code better.

Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Reviewed-by: Andrea Arcangeli <aarcange@redhat.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Johannes Weiner <jweiner@redhat.com>
Cc: Minchan Kim <minchan.kim@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/huge_memory.c