summaryrefslogtreecommitdiffstats
path: root/include/linux/bio.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2016-11-01 07:40:12 -0600
committerJens Axboe <axboe@fb.com>2016-11-01 09:43:26 -0600
commit1e3914d4cf4e14653b7917b0e965217465cb7a9c (patch)
tree779f4308f4739dbd849b240af58bae3cebe82c14 /include/linux/bio.h
parentd38499530e5f170d30f32d3841fade204e63081d (diff)
downloadlinux-1e3914d4cf4e14653b7917b0e965217465cb7a9c.tar.gz
linux-1e3914d4cf4e14653b7917b0e965217465cb7a9c.tar.bz2
linux-1e3914d4cf4e14653b7917b0e965217465cb7a9c.zip
block, fs: move submit_bio to bio.h
This is where all the other bio operations live, so users must include bio.h anyway. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'include/linux/bio.h')
-rw-r--r--include/linux/bio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/bio.h b/include/linux/bio.h
index fe9a17017608..5c604b4914bf 100644
--- a/include/linux/bio.h
+++ b/include/linux/bio.h
@@ -404,6 +404,8 @@ static inline struct bio *bio_clone_kmalloc(struct bio *bio, gfp_t gfp_mask)
}
+extern blk_qc_t submit_bio(struct bio *);
+
extern void bio_endio(struct bio *);
static inline void bio_io_error(struct bio *bio)