commit | ff4c8d503e2583b485da46d0ec3dcc29639ab889 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Sun Apr 01 12:09:54 2012 -0700 |
committer | Tejun Heo <tj@kernel.org> | Sun Apr 01 12:09:54 2012 -0700 |
tree | f4f03ab7e743f96e9b8e7c178b61554e3d591d52 | |
parent | 8b5a5a9dbca914d1f7d70276024d1525a3c94081 [diff] |
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 <tj@kernel.org> Acked-by: Li Zefan <lizf@cn.fujitsu.com>