[Intel-gfx] [RFC PATCH] cgroup: cgroup_idr_lock can be static
kbuild test robot
lkp at intel.com
Mon Mar 19 05:41:27 UTC 2018
Fixes: d6de4e7e9e60 ("cgroup: Allow registration and lookup of cgroup private data (v2)")
Signed-off-by: Fengguang Wu <fengguang.wu at intel.com>
---
cgroup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/cgroup/cgroup.c b/kernel/cgroup/cgroup.c
index c778830..9af6086 100644
--- a/kernel/cgroup/cgroup.c
+++ b/kernel/cgroup/cgroup.c
@@ -91,7 +91,7 @@ static DEFINE_IDR(cgroup_priv_idr);
* Protects cgroup_idr, css_idr, and cgroup_priv_idr so that IDs can be
* released without grabbing cgroup_mutex.
*/
-DEFINE_SPINLOCK(cgroup_idr_lock);
+static DEFINE_SPINLOCK(cgroup_idr_lock);
/*
* Protects cgroup_file->kn for !self csses. It synchronizes notifications
More information about the Intel-gfx
mailing list