cgroups: introduce link_css_set() to remove duplicate code
authorLi Zefan <lizf@cn.fujitsu.com>
Thu, 8 Jan 2009 02:07:42 +0000 (18:07 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 8 Jan 2009 16:31:03 +0000 (08:31 -0800)
commitc12f65d4396e05c51ce3af7f159ead98574a587c
tree95e4f2e4878101ca2b9e3efc0a9cc5f25ce678d7
parent33a68ac1c1b695216e873ee12e819adbe73e4d9f
cgroups: introduce link_css_set() to remove duplicate code

Add a common function link_css_set() to link a css_set to a cgroup.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Cc: Paul Menage <menage@google.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Balbir Singh <balbir@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/cgroup.c