mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-22 06:32:08 +00:00
block: Drop bioset_create()
All users have been converted to bioset_init(), kill off the old API. Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
e292d7bc63
commit
dad0852752
2 changed files with 15 additions and 52 deletions
|
@ -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 *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue