summaryrefslogtreecommitdiffstats
path: root/kernel/cgroup.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2010-02-24 19:41:39 +0100
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2010-08-19 17:18:00 -0700
commit2c392b8c3450ceb69ba1b93cb0cddb3998fb8cdc (patch)
tree4e8e9414afe539baa66eacad9c99dd3bc15feabc /kernel/cgroup.c
parent67bdbffd696f29a0b68aa8daa285783a06651583 (diff)
downloadlinux-2c392b8c3450ceb69ba1b93cb0cddb3998fb8cdc.tar.gz
linux-2c392b8c3450ceb69ba1b93cb0cddb3998fb8cdc.tar.bz2
linux-2c392b8c3450ceb69ba1b93cb0cddb3998fb8cdc.zip
cgroups: __rcu annotations
Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Paul Menage <menage@google.com> Cc: Li Zefan <lizf@cn.fujitsu.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'kernel/cgroup.c')
-rw-r--r--kernel/cgroup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/cgroup.c b/kernel/cgroup.c
index 192f88c5b0f9..e5c5497a7dca 100644
--- a/kernel/cgroup.c
+++ b/kernel/cgroup.c
@@ -138,7 +138,7 @@ struct css_id {
* is called after synchronize_rcu(). But for safe use, css_is_removed()
* css_tryget() should be used for avoiding race.
*/
- struct cgroup_subsys_state *css;
+ struct cgroup_subsys_state __rcu *css;
/*
* ID of this css.
*/