Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 55679c8d authored by Bart Van Assche's avatar Bart Van Assche Committed by Jens Axboe
Browse files

blkcg: Annotate blkg_hint correctly



Avoid that sparse complains about blkg_hint manipulations.

Fixes: a637120e ("blkcg: use radix tree to index blkgs from blkcg")
Signed-off-by: default avatarBart Van Assche <bart.vanassche@sandisk.com>
Acked-by: default avatarTejun Heo <tj@kernel.org>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 3932a86b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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];