aboutsummaryrefslogtreecommitdiffstats
path: root/block/blk-throttle.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/blk-throttle.c')
-rw-r--r--block/blk-throttle.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/block/blk-throttle.c b/block/blk-throttle.c
index 52a429397d3b..fe6a442b8482 100644
--- a/block/blk-throttle.c
+++ b/block/blk-throttle.c
@@ -169,6 +169,9 @@ static void throtl_put_tg(struct throtl_grp *tg)
169 if (!atomic_dec_and_test(&tg->ref)) 169 if (!atomic_dec_and_test(&tg->ref))
170 return; 170 return;
171 171
172 /* release the extra blkcg reference this blkg has been holding */
173 css_put(&tg->blkg.blkcg->css);
174
172 /* 175 /*
173 * A group is freed in rcu manner. But having an rcu lock does not 176 * A group is freed in rcu manner. But having an rcu lock does not
174 * mean that one can access all the fields of blkg and assume these 177 * mean that one can access all the fields of blkg and assume these