summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2019-03-08 03:03:48 +0000
committerJohannes Weiner <hannes@cmpxchg.org>2019-03-08 03:03:48 +0000
commit5b642de054ff054f1c22f5c15730c3052b1649af (patch)
tree6069eb084798e8012dbf0a0db3e7c1d566e40612
parent396dba6919c5f4069bd376e8b45d451a4f139642 (diff)
psi-introduce-psi-monitor-fix-3
suppress sparse rcu warning Cc: Suren Baghdasaryan <surenb@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-rw-r--r--kernel/cgroup/cgroup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/cgroup/cgroup.c b/kernel/cgroup/cgroup.c
index 23fda8b4ad20..daf32e8230d7 100644
--- a/kernel/cgroup/cgroup.c
+++ b/kernel/cgroup/cgroup.c
@@ -3526,7 +3526,7 @@ static __poll_t cgroup_pressure_poll(struct kernfs_open_file *of,
__poll_t ret;
rcu_read_lock();
- t = rcu_dereference(of->priv);
+ t = rcu_dereference_raw(of->priv);
if (t)
ret = psi_trigger_poll(t, of->file, pt);
else