Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Christoph Hellwig and committed by
Jens Axboe
1e3914d4 d3849953

+2 -1
+2
include/linux/bio.h
··· 404 404 405 405 } 406 406 407 + extern blk_qc_t submit_bio(struct bio *); 408 + 407 409 extern void bio_endio(struct bio *); 408 410 409 411 static inline void bio_io_error(struct bio *bio)
-1
include/linux/fs.h
··· 2717 2717 extern void inode_sb_list_add(struct inode *inode); 2718 2718 2719 2719 #ifdef CONFIG_BLOCK 2720 - extern blk_qc_t submit_bio(struct bio *); 2721 2720 extern int bdev_read_only(struct block_device *); 2722 2721 #endif 2723 2722 extern int set_blocksize(struct block_device *, int);