]> git.karo-electronics.de Git - karo-tx-linux.git/commit
thp: improve the error code path
authorShaohua Li <shaohua.li@intel.com>
Fri, 2 Dec 2011 03:13:07 +0000 (14:13 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 6 Dec 2011 04:05:48 +0000 (15:05 +1100)
commit19b55dc3c8d2f8b2d0a9bac8c340fe968c2d3af9
tree8530d478ab7451ab3ea153ee90fefbedfda4e06f
parentf0a4e728a4cec36f92a99b338e5c0962f298bc07
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