From: Tejun Heo Date: Sun, 1 Apr 2012 19:09:54 +0000 (-0700) Subject: cgroup: move cgroup_clear_directory() call out of cgroup_populate_dir() X-Git-Tag: v3.5-rc1~142^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff4c8d503e2583b485da46d0ec3dcc29639ab889;p=pandora-kernel.git cgroup: move cgroup_clear_directory() call out of cgroup_populate_dir() cgroup_populate_dir() currently clears all files and then repopulate the directory; however, the clearing part is only useful when it's called from cgroup_remount(). Relocate the invocation to cgroup_remount(). This is to prepare for further cgroup file handling updates. Signed-off-by: Tejun Heo Acked-by: Li Zefan --- Reading git-diff-tree failed