Re: [PATCH 1/9] cgroup: minor updates around cgroup_clear_directory()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2013/6/29 7:45, Tejun Heo wrote:
> * 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@xxxxxxxxxx>

Acked-by: Li Zefan <lizefan@xxxxxxxxxx>

_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/containers




[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux