]> git.karo-electronics.de Git - karo-tx-linux.git/commit
thp: handle errors in hugepage_init() properly
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Tue, 7 Apr 2015 23:44:32 +0000 (09:44 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 7 Apr 2015 23:44:32 +0000 (09:44 +1000)
commit9c0a57e8f4597b254d7194fc3ccc3f7b2622ddc0
treebca093a4157f68db985323ad1fb6b6e286cdd8f5
parenta3db5a8463b0dbea8a986642da1f844492c6366e
thp: handle errors in hugepage_init() properly

We miss error-handling in few cases hugepage_init(). Let's fix that.

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/huge_memory.c