diff options
Diffstat (limited to 'include/linux/bio.h')
-rw-r--r-- | include/linux/bio.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/bio.h b/include/linux/bio.h index 1f8acca2..b3755406 100644 --- a/include/linux/bio.h +++ b/include/linux/bio.h @@ -235,6 +235,7 @@ enum { struct bio *bio_alloc_bioset(struct block_device *, unsigned, blk_opf_t, gfp_t, struct bio_set *); + extern void bio_put(struct bio *); int bio_add_page(struct bio *, struct page *, unsigned, unsigned); @@ -242,6 +243,9 @@ int bio_add_page(struct bio *, struct page *, unsigned, unsigned); struct bio *bio_alloc_clone(struct block_device *, struct bio *, gfp_t, struct bio_set *); +struct bio *bio_alloc(struct block_device *, unsigned, + blk_opf_t, gfp_t); + struct bio *bio_kmalloc(unsigned int, gfp_t); extern void bio_endio(struct bio *); |