]> git.karo-electronics.de Git - linux-beck.git/blobdiff - block/bio.c
Merge branch 'for-linus' of git://git.kernel.dk/linux-block
[linux-beck.git] / block / bio.c
index 2d64488e51c613afcf86bd2f9719e5dce11d71e7..8c2e55e39a1b9a6eca0c169f658b35a8006f5372 100644 (file)
@@ -1977,7 +1977,7 @@ int bio_associate_current(struct bio *bio)
        /* associate blkcg if exists */
        rcu_read_lock();
        css = task_css(current, blkio_cgrp_id);
-       if (css && css_tryget(css))
+       if (css && css_tryget_online(css))
                bio->bi_css = css;
        rcu_read_unlock();