summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2013-06-28 16:24:10 -0700
committerTejun Heo <tj@kernel.org>2013-07-12 12:34:01 -0700
commit8f89140ae41ccd9c63344e6823faa862aa7435e3 (patch)
tree319446c51b515bd3f6bc9e22e6de8841a4b5f4cb /lib
parent9903883f1dd6e86f286b7bfa6e4b423f98c1cd9e (diff)
downloadlwn-8f89140ae41ccd9c63344e6823faa862aa7435e3.tar.gz
lwn-8f89140ae41ccd9c63344e6823faa862aa7435e3.zip
cgroup: minor updates around cgroup_clear_directory()
* Rename it to cgroup_clear_dir() and make it take the pointer to the target cgroup instead of the the dentry. This makes the function consistent with its counterpart - cgroup_populate_dir(). * Move cgroup_clear_directory() invocation from cgroup_d_remove_dir() to cgroup_remount() so that the function doesn't have to determine the cgroup pointer back from the dentry. cgroup_d_remove_dir() now only deals with vfs, which is slightly cleaner. This patch doesn't introduce any functional differences. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Li Zefan <lizefan@huawei.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions