summaryrefslogtreecommitdiffstats
path: root/kernel/include/linux/bio.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/linux/bio.h')
-rw-r--r--kernel/include/linux/bio.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/include/linux/bio.h b/kernel/include/linux/bio.h
index fbe47bc70..42e4e3cbb 100644
--- a/kernel/include/linux/bio.h
+++ b/kernel/include/linux/bio.h
@@ -527,11 +527,14 @@ extern unsigned int bvec_nr_vecs(unsigned short idx);
int bio_associate_blkcg(struct bio *bio, struct cgroup_subsys_state *blkcg_css);
int bio_associate_current(struct bio *bio);
void bio_disassociate_task(struct bio *bio);
+void bio_clone_blkcg_association(struct bio *dst, struct bio *src);
#else /* CONFIG_BLK_CGROUP */
static inline int bio_associate_blkcg(struct bio *bio,
struct cgroup_subsys_state *blkcg_css) { return 0; }
static inline int bio_associate_current(struct bio *bio) { return -ENOENT; }
static inline void bio_disassociate_task(struct bio *bio) { }
+static inline void bio_clone_blkcg_association(struct bio *dst,
+ struct bio *src) { }
#endif /* CONFIG_BLK_CGROUP */
#ifdef CONFIG_HIGHMEM