cgroup: switch to proc_create()
authorLi Zefan <lizf@cn.fujitsu.com>
Tue, 29 Apr 2008 08:00:08 +0000 (01:00 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Apr 2008 15:06:09 +0000 (08:06 -0700)
commit46ae220bea40bd1cf4abec2d5cdfb4f9396c7115
treee485a13dd8d85d2f40ecf73d9482671dc39ceab1
parent06a119204d3e1e67d393e996ed987b0df7998381
cgroup: switch to proc_create()

There is a race between create_proc_entry() and the assignment of file ops.
proc_create() is invented to fix it.

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