Przeglądaj źródła

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 lat temu
rodzic
commit
a5c2b93f79
2 zmienionych plików z 1 dodań i 1 usunięć
  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