block: remove blk_{get,put}_request
These are now pointless wrappers around blk_mq_{alloc,free}_request,
so remove them.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20211025070517.1548584-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
4845012eb5
commit
0bf6d96cb8
17 changed files with 45 additions and 69 deletions
|
|
@ -892,9 +892,6 @@ static inline bool rq_is_sync(struct request *rq)
|
|||
}
|
||||
|
||||
void blk_rq_init(struct request_queue *q, struct request *rq);
|
||||
void blk_put_request(struct request *rq);
|
||||
struct request *blk_get_request(struct request_queue *q, unsigned int op,
|
||||
blk_mq_req_flags_t flags);
|
||||
int blk_rq_prep_clone(struct request *rq, struct request *rq_src,
|
||||
struct bio_set *bs, gfp_t gfp_mask,
|
||||
int (*bio_ctr)(struct bio *, struct bio *, void *), void *data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue