summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorShaohua Li <shli@fb.com>2017-08-18 19:27:59 +0200
committerShaohua Li <shli@fb.com>2017-08-25 19:21:48 +0200
commit8a8e6f84ad10e7a10bde438b42926da0e9bc820f (patch)
treee947785c69c1ce1ef3edd8c6a3f4836956a79f48 /block
parentlib/raid6: align AVX512 constants to 512 bits, not bytes (diff)
downloadlinux-8a8e6f84ad10e7a10bde438b42926da0e9bc820f.tar.xz
linux-8a8e6f84ad10e7a10bde438b42926da0e9bc820f.zip
md/raid0: attach correct cgroup info in bio
The discard bio doesn't attach the original bio cgroup info. Normal bio is cloned, so is fine. Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'block')
-rw-r--r--block/bio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/bio.c b/block/bio.c
index 9a63597aaacc..51189a1d9009 100644
--- a/block/bio.c
+++ b/block/bio.c
@@ -2085,7 +2085,7 @@ void bio_clone_blkcg_association(struct bio *dst, struct bio *src)
if (src->bi_css)
WARN_ON(bio_associate_blkcg(dst, src->bi_css));
}
-
+EXPORT_SYMBOL_GPL(bio_clone_blkcg_association);
#endif /* CONFIG_BLK_CGROUP */
static void __init biovec_init_slabs(void)