revert mm/vmalloc.c: emit the failure message before return
authorWanpeng Li <[email protected]>
Tue, 12 Nov 2013 23:07:33 +0000 (15:07 -0800)
committerLinus Torvalds <[email protected]>
Wed, 13 Nov 2013 03:09:05 +0000 (12:09 +0900)
commitb82225f3ff5be4c52cb588a4a53686db50aa6eb6
tree77d2e269a3abe53cd7548c4ac7c8b94c24e12acc
parentaf12346cdacda36f0c35c657088282b8ecd0df72
revert mm/vmalloc.c: emit the failure message before return

Don't warn twice in __vmalloc_area_node and __vmalloc_node_range if
__vmalloc_area_node allocation failure.  This patch reverts commit
46c001a2753f ("mm/vmalloc.c: emit the failure message before return").

Signed-off-by: Wanpeng Li <[email protected]>
Reviewed-by: Zhang Yanfei <[email protected]>
Cc: Joonsoo Kim <[email protected]>
Cc: KOSAKI Motohiro <[email protected]>
Cc: Mitsuo Hayasaka <[email protected]>
Cc: David Rientjes <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/vmalloc.c