From: Tejun Heo Date: Fri, 28 Jun 2013 23:24:10 +0000 (-0700) Subject: cgroup: minor updates around cgroup_clear_directory() X-Git-Tag: v3.12-rc1~173^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f89140ae41ccd9c63344e6823faa862aa7435e3;p=pandora-kernel.git 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 Acked-by: Li Zefan --- Reading git-diff-tree failed