]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
thp: handle errors in hugepage_init() properly
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Wed, 15 Apr 2015 23:14:20 +0000 (16:14 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 15 Apr 2015 23:35:18 +0000 (16:35 -0700)
commit65ebb64f4d2ce8eba4d0ec82d6cf65022e70e4a1
tree52086d74382f1645a649794585c8f3f2581c6313
parentbdfedb76f4f5aa5e37380e3b71adee4a39f30fc6
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/huge_memory.c