cgroup: fix default notify_on_release setting
authorLi Zefan <lizf@cn.fujitsu.com>
Tue, 4 Mar 2008 22:28:19 +0000 (14:28 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 5 Mar 2008 00:35:09 +0000 (16:35 -0800)
commitb6abdb0e6ca5c2c0a7caa4131da2af0750927e72
tree608c153a6c4b8feca409092bcc14c0710917a4da
parentfcab59a3186640ce085e89ee6dfc03cacfb6c7c9
cgroup: fix default notify_on_release setting

The documentation says the default value of notify_on_release of a child
cgroup is inherited from its parent, which is reasonable, but the
implementation just sets the flag disabled.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Acked-by: Paul Menage <menage@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/cgroup.c