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)
commit7db5b3ca0ecdb2e8fad52a4770e4e320e61c77a6
tree3a6c5d2482e1be5c7d8104073e958b9638e31dec
parentcd6407fe220c5cf26c117457f5bcdfd6a81fbef8
Revert "cgroup: superblock can't be released with active dentries"

This reverts commit fa980ca87d15bb8a1317853f257a505990f3ffde.  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