Selaa lähdekoodia

cgroup: Rename kernel/cgroup/stat.c to kernel/cgroup/rstat.c

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>
Tejun Heo 7 vuotta sitten
vanhempi
commit
a5c2b93f79
2 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      kernel/cgroup/Makefile
  2. 0 0
      kernel/cgroup/rstat.c

+ 1 - 1
kernel/cgroup/Makefile

@@ -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

+ 0 - 0
kernel/cgroup/stat.c → kernel/cgroup/rstat.c