diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2018-05-20 17:46:31 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2018-05-20 18:25:23 -0400 |
commit | 14231f0fb01300cb5a2a9888f0c2a551273cb5f7 (patch) | |
tree | bf54142bbe3983c3e80fcb6600a7fa7f612ca4db /include/linux/bio.h | |
parent | 07049b2270b2da7082c5621f65521cc4d4fc041f (diff) |
block: Drop bioset_create()for-jens
All users have been converted to bioset_init()
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'include/linux/bio.h')
-rw-r--r-- | include/linux/bio.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/linux/bio.h b/include/linux/bio.h index 5e472fcafa24..810a8bee8f85 100644 --- a/include/linux/bio.h +++ b/include/linux/bio.h @@ -410,14 +410,12 @@ static inline struct bio *bio_next_split(struct bio *bio, int sectors, return bio_split(bio, sectors, gfp, bs); } -extern int bioset_init(struct bio_set *, unsigned int, unsigned int, int flags); -extern void bioset_exit(struct bio_set *); -extern struct bio_set *bioset_create(unsigned int, unsigned int, int flags); enum { BIOSET_NEED_BVECS = BIT(0), BIOSET_NEED_RESCUER = BIT(1), }; -extern void bioset_free(struct bio_set *); +extern int bioset_init(struct bio_set *, unsigned int, unsigned int, int flags); +extern void bioset_exit(struct bio_set *); extern int biovec_init_pool(mempool_t *pool, int pool_entries); extern struct bio *bio_alloc_bioset(gfp_t, unsigned int, struct bio_set *); |