aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJianyu Zhan <[email protected]>2014-06-04 16:10:36 -0700
committerLinus Torvalds <[email protected]>2014-06-04 16:54:10 -0700
commit8f34af6f93aee88291cec53ae8dff4989e58fbbd (patch)
tree685f2fa37565ede78b6ee2629d3f330eb7e39490 /include
parent6edd6cc66201e06a6cc34030462217e7f4d72f4f (diff)
mm, hugetlb: move the error handle logic out of normal code path
alloc_huge_page() now mixes normal code path with error handle logic. This patches move out the error handle logic, to make normal code path more clean and redue code duplicate. Signed-off-by: Jianyu Zhan <[email protected]> Acked-by: Davidlohr Bueso <[email protected]> Reviewed-by: Michal Hocko <[email protected]> Reviewed-by: Aneesh Kumar K.V <[email protected]> Cc: Johannes Weiner <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions