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

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