aboutsummaryrefslogtreecommitdiffstats
path: root/block/bio.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/bio.c')
-rw-r--r--block/bio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/bio.c b/block/bio.c
index 96d28eee8a1e..1ba33657160f 100644
--- a/block/bio.c
+++ b/block/bio.c
@@ -1971,7 +1971,7 @@ int bio_associate_current(struct bio *bio)
1971 /* associate blkcg if exists */ 1971 /* associate blkcg if exists */
1972 rcu_read_lock(); 1972 rcu_read_lock();
1973 css = task_css(current, blkio_cgrp_id); 1973 css = task_css(current, blkio_cgrp_id);
1974 if (css && css_tryget(css)) 1974 if (css && css_tryget_online(css))
1975 bio->bi_css = css; 1975 bio->bi_css = css;
1976 rcu_read_unlock(); 1976 rcu_read_unlock();
1977 1977