block: add missing group association in bio-cloning functions
[firefly-linux-kernel-4.4.55.git] / fs / btrfs / extent_io.c
index 9abe18763a7fb001632246fd712a64fdffcc0225..257bbdcb5df64582236bfc9be9f721f418e957a0 100644 (file)
@@ -2786,12 +2786,6 @@ struct bio *btrfs_bio_clone(struct bio *bio, gfp_t gfp_mask)
                btrfs_bio->csum = NULL;
                btrfs_bio->csum_allocated = NULL;
                btrfs_bio->end_io = NULL;
-
-#ifdef CONFIG_BLK_CGROUP
-               /* FIXME, put this into bio_clone_bioset */
-               if (bio->bi_css)
-                       bio_associate_blkcg(new, bio->bi_css);
-#endif
        }
        return new;
 }