diff options
Diffstat (limited to 'block/blk-throttle.c')
-rw-r--r-- | block/blk-throttle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-throttle.c b/block/blk-throttle.c index bfa5168249eb..08b7ab292a80 100644 --- a/block/blk-throttle.c +++ b/block/blk-throttle.c | |||
@@ -900,7 +900,7 @@ bool blk_throtl_bio(struct request_queue *q, struct bio *bio) | |||
900 | * just update the dispatch stats in lockless manner and return. | 900 | * just update the dispatch stats in lockless manner and return. |
901 | */ | 901 | */ |
902 | rcu_read_lock(); | 902 | rcu_read_lock(); |
903 | blkcg = task_blkio_cgroup(current); | 903 | blkcg = bio_blkio_cgroup(bio); |
904 | tg = throtl_lookup_tg(td, blkcg); | 904 | tg = throtl_lookup_tg(td, blkcg); |
905 | if (tg) { | 905 | if (tg) { |
906 | if (tg_no_rule_group(tg, rw)) { | 906 | if (tg_no_rule_group(tg, rw)) { |