|
@@ -899,12 +899,6 @@ static void cgroup_diput(struct dentry *dentry, struct inode *inode)
|
|
|
struct cgroup *cgrp = dentry->d_fsdata;
|
|
|
|
|
|
BUG_ON(!(cgroup_is_removed(cgrp)));
|
|
|
- /* It's possible for external users to be holding css
|
|
|
- * reference counts on a cgroup; css_put() needs to
|
|
|
- * be able to access the cgroup after decrementing
|
|
|
- * the reference count in order to know if it needs to
|
|
|
- * queue the cgroup to be handled by the release
|
|
|
- * agent */
|
|
|
call_rcu(&cgrp->rcu_head, cgroup_free_rcu);
|
|
|
} else {
|
|
|
struct cfent *cfe = __d_cfe(dentry);
|