]> git.karo-electronics.de Git - karo-tx-linux.git/commit
thp: improve the error code path
authorShaohua Li <shaohua.li@intel.com>
Fri, 16 Dec 2011 04:50:39 +0000 (15:50 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 21 Dec 2011 06:02:01 +0000 (17:02 +1100)
commit65a0ee3a2c6d110f83b3ab3f64c21cc324950fd0
tree291e29b235c3ae813b15201339a85f0167c4c8fe
parent1f49e4c674292b8dd2b2ce4ccb706767a35ccbb6
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