Re: [PATCH 2/6] cgroup: prefix global variables with "cgroup_"

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

 



On 2013/6/22 9:34, Tejun Heo wrote:
> Global variable names in kernel/cgroup.c are asking for trouble -
> subsys, roots, rootnode and so on.  Rename them to have "cgroup_"
> prefix.
> 
> * s/subsys/cgroup_subsys/
> 
> * s/rootnode/cgroup_dummy_root/
> 
> * s/dummytop/cgroup_cummy_top/
> 
> * s/roots/cgroup_roots/
> 
> * s/root_count/cgroup_root_count/
> 
> This patch is purely cosmetic.
> 
> Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
> ---
>  kernel/cgroup.c | 153 ++++++++++++++++++++++++++++----------------------------
>  1 file changed, 77 insertions(+), 76 deletions(-)
> 

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