diff options
author | Bart Van Assche <bart.vanassche@sandisk.com> | 2016-09-23 09:07:56 -0700 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-09-23 11:30:38 -0600 |
commit | 55679c8d23d191c24ad133abc5647e3054ca8de1 (patch) | |
tree | 22d507af79b6a103eb6ca85556157e4e2f0569a0 | |
parent | 3932a86b4b9d1f0b049d64d4591ce58ad18b44ec (diff) |
blkcg: Annotate blkg_hint correctly
Avoid that sparse complains about blkg_hint manipulations.
Fixes: a637120e4902 ("blkcg: use radix tree to index blkgs from blkcg")
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@fb.com>
-rw-r--r-- | include/linux/blk-cgroup.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/blk-cgroup.h b/include/linux/blk-cgroup.h index 10648e300c93..cbdbf34de5b6 100644 --- a/include/linux/blk-cgroup.h +++ b/include/linux/blk-cgroup.h @@ -45,7 +45,7 @@ struct blkcg { spinlock_t lock; struct radix_tree_root blkg_tree; - struct blkcg_gq *blkg_hint; + struct blkcg_gq __rcu *blkg_hint; struct hlist_head blkg_list; struct blkcg_policy_data *cpd[BLKCG_MAX_POLS]; |