]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
cgroup: Rename kernel/cgroup/stat.c to kernel/cgroup/rstat.c
authorTejun Heo <tj@kernel.org>
Thu, 26 Apr 2018 21:29:04 +0000 (14:29 -0700)
committerTejun Heo <tj@kernel.org>
Thu, 26 Apr 2018 21:29:04 +0000 (14:29 -0700)
stat is too generic a name and ends up causing subtle confusions.
It'll be made generic so that controllers can plug into it, which will
make the problem worse.  Let's rename it to something more specific -
cgroup_rstat for cgroup recursive stat.

First, rename kernel/cgroup/stat.c to kernel/cgroup/rstat.c.  No
content changes.

Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/cgroup/Makefile
kernel/cgroup/rstat.c [moved from kernel/cgroup/stat.c with 100% similarity]

index 2be89a003185bb4cb3613a539496008c129643d9..bfcdae8961227acab958192a7164d98c72a48ea7 100644 (file)
@@ -1,5 +1,5 @@
 # SPDX-License-Identifier: GPL-2.0
-obj-y := cgroup.o stat.o namespace.o cgroup-v1.o
+obj-y := cgroup.o rstat.o namespace.o cgroup-v1.o
 
 obj-$(CONFIG_CGROUP_FREEZER) += freezer.o
 obj-$(CONFIG_CGROUP_PIDS) += pids.o
similarity index 100%
rename from kernel/cgroup/stat.c
rename to kernel/cgroup/rstat.c