]> git.karo-electronics.de Git - karo-tx-linux.git/commit
thp: improve the error code path
authorShaohua Li <shaohua.li@intel.com>
Thu, 8 Dec 2011 04:42:48 +0000 (15:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 13 Dec 2011 06:43:33 +0000 (17:43 +1100)
commitded7ce58d6c339f03aa48f7abe97c5d451530eda
treed933ef724589d823892e6ea90a33803e4b671cdb
parentcae63c11aa6907dbfb842946ea60230c938ac0ea
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