diff options
author | Tejun Heo <tj@kernel.org> | 2013-08-13 11:01:54 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-08-13 11:01:54 -0400 |
commit | 35ef10da65d43211f4cd7e7822cbb3becdfc0ae1 (patch) | |
tree | 93384946eba30c0de1621d5a5895ae64c1583730 /include/linux | |
parent | 40e93b39cd5b6a347333a95152ce37deef37bbd0 (diff) |
cgroup: rename cgroup_subsys_state->dput_work and its callback function
css (cgroup_subsys_state) will become RCU protected and there will be
two stages which require punting to work item during release. To
prepare for using the work item for multiple times, rename
css->dput_work to css->destroy_work and css_dput_fn() to
css_free_work_fn() and move work item initialization from css init to
right before the actual usage.
This reorganization doesn't introduce any behavior change.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Li Zefan <lizefan@huawei.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/cgroup.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h index 8ec5b0f38292..12d66fee26f8 100644 --- a/include/linux/cgroup.h +++ b/include/linux/cgroup.h | |||
@@ -80,7 +80,7 @@ struct cgroup_subsys_state { | |||
80 | struct css_id __rcu *id; | 80 | struct css_id __rcu *id; |
81 | 81 | ||
82 | /* Used to put @cgroup->dentry on the last css_put() */ | 82 | /* Used to put @cgroup->dentry on the last css_put() */ |
83 | struct work_struct dput_work; | 83 | struct work_struct destroy_work; |
84 | }; | 84 | }; |
85 | 85 | ||
86 | /* bits in struct cgroup_subsys_state flags field */ | 86 | /* bits in struct cgroup_subsys_state flags field */ |