On 2013/6/29 7:45, Tejun Heo wrote: > cgroup_populate/clear_dir() currently take @base_files and adds and > removes, respectively, cgroup_base_files[] to the directory. File > additions and removals are being reorganized for proper error handling > and more dynamic handling for the unified hierarchy, and mixing base > and subsys file handling into the same functions gets a bit confusing. > > This patch moves base file handling out of cgroup_populate/clear_dir() > into their users - cgroup_mount(), cgroup_create() and > cgroup_destroy_locked(). > > Note that this changes the behavior of base file removal. If > @base_files is %true, cgroup_clear_dir() used to delete files > regardless of cftype until there's no files left. Now, only files > with matching cfts are removed. As files can only be created by the > base or registered cftypes, this shouldn't result in any behavior > difference. > > Signed-off-by: Tejun Heo <tj@xxxxxxxxxx> Acked-by: Li Zefan <lizefan@xxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe cgroups" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html