فهرست منبع

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 سال پیش
والد
کامیت
a5c2b93f79
2فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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