diff options
author | Tejun Heo <tj@kernel.org> | 2018-04-26 14:29:04 -0700 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2018-04-26 14:29:04 -0700 |
commit | a5c2b93f79ef7d746a3cd2c1bd66833286f9be70 (patch) | |
tree | fd694bdba7b61e849000b116523f273c2a9cdbfa /kernel/cgroup | |
parent | b12e35832805bf120819b83d8fdb6e4d227a5ddb (diff) | |
download | linux-stable-a5c2b93f79ef7d746a3cd2c1bd66833286f9be70.tar.gz linux-stable-a5c2b93f79ef7d746a3cd2c1bd66833286f9be70.tar.bz2 linux-stable-a5c2b93f79ef7d746a3cd2c1bd66833286f9be70.zip |
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>
Diffstat (limited to 'kernel/cgroup')
-rw-r--r-- | kernel/cgroup/Makefile | 2 | ||||
-rw-r--r-- | kernel/cgroup/rstat.c (renamed from kernel/cgroup/stat.c) | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/kernel/cgroup/Makefile b/kernel/cgroup/Makefile index 2be89a003185..bfcdae896122 100644 --- a/kernel/cgroup/Makefile +++ b/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 diff --git a/kernel/cgroup/stat.c b/kernel/cgroup/rstat.c index 1e111dd455c4..1e111dd455c4 100644 --- a/kernel/cgroup/stat.c +++ b/kernel/cgroup/rstat.c |