]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/bio.c
cgroup: rename css_tryget*() to css_tryget_online*()
[karo-tx-linux.git] / fs / bio.c
index 6f0362b77806c61909aa37433a9e77eb77476cff..0608ef9422bdc6fba65e751defdf09e8980e4e9c 100644 (file)
--- a/fs/bio.c
+++ b/fs/bio.c
@@ -1970,7 +1970,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();