]> Pileus Git - ~andy/linux/commit
cgroup: rename cgroup_subsys_state->dput_work and its callback function
authorTejun Heo <tj@kernel.org>
Tue, 13 Aug 2013 15:01:54 +0000 (11:01 -0400)
committerTejun Heo <tj@kernel.org>
Tue, 13 Aug 2013 15:01:54 +0000 (11:01 -0400)
commit35ef10da65d43211f4cd7e7822cbb3becdfc0ae1
tree93384946eba30c0de1621d5a5895ae64c1583730
parent40e93b39cd5b6a347333a95152ce37deef37bbd0
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>
include/linux/cgroup.h
kernel/cgroup.c