[PATCH] cgroup: add lock validation in check_for_release()

2013-01-24 Thread Li Zefan
There was a long-standing bug that this function was called without any lock. Add a check to prevent similar issue. Signed-off-by: Li Zefan --- kernel/cgroup.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/kernel/cgroup.c b/kernel/cgroup.c index

[PATCH] cgroup: add lock validation in check_for_release()

2013-01-24 Thread Li Zefan
There was a long-standing bug that this function was called without any lock. Add a check to prevent similar issue. Signed-off-by: Li Zefan lize...@huawei.com --- kernel/cgroup.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/kernel/cgroup.c