]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "cgroup: superblock can't be released with active dentries"
authorTejun Heo <tj@kernel.org>
Sat, 7 Jul 2012 22:55:47 +0000 (15:55 -0700)
committerTejun Heo <tj@kernel.org>
Sat, 7 Jul 2012 22:55:47 +0000 (15:55 -0700)
commit801d56d1aa5c3ef876f6f685b084df93ea514233
tree3a6c5d2482e1be5c7d8104073e958b9638e31dec
parent1d7bcbe1d4d6de028059578d7677b137ed798cd8
Revert "cgroup: superblock can't be released with active dentries"

This reverts commit 2625cbdfec706f2936526c9f2d72fe25a78435a1.  The
commit was an attempt to fix a race condition where a cgroup hierarchy
may be unmounted with positive dentry reference on root cgroup.  While
the commit made the race condition slightly more difficult to trigger,
the race was still there and could be reliably triggered using a
different test case.

Revert the incorrect fix.  The next commit will describe the race and
fix it correctly.

Signed-off-by: Tejun Heo <tj@kernel.org>
LKML-Reference: <4FEEA5CB.8070809@huawei.com>
Reported-by: shyju pv <shyju.pv@huawei.com>
Cc: Sasha Levin <levinsasha928@gmail.com>
Acked-by: Li Zefan <lizefan@huawei.com>
kernel/cgroup.c