memcgroup: return negative error code in mem_cgroup_create()
commit2dda81ca31dc73e695ff8b83351f7aaefbef192a
authorLi Zefan <lizf@cn.fujitsu.com>
Sat, 23 Feb 2008 23:24:14 +0000 (23 15:24 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 24 Feb 2008 01:13:25 +0000 (23 17:13 -0800)
tree808c6dd9c79f6f62851eb4108c4d7104decc7e9c
parent7fde4c3eb7ee68828d76a2148ed6d70b6a794add
memcgroup: return negative error code in mem_cgroup_create()

Cgroup requires the subsystem to return negative error code on error in the
create method.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Acked-by: Balbir Singh <balbir@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memcontrol.c