mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
block: remove the gendisk argument to blk_execute_rq
Remove the gendisk aregument to blk_execute_rq and blk_execute_rq_nowait given that it is unused now. Also convert the boolean at_head parameter to actually use the bool type while touching the prototype. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Link: https://lore.kernel.org/r/20211126121802.2090656-5-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
f3fa33acca
commit
b84ba30b6c
21 changed files with 35 additions and 42 deletions
|
@ -924,10 +924,9 @@ int blk_rq_unmap_user(struct bio *);
|
|||
int blk_rq_map_kern(struct request_queue *, struct request *, void *,
|
||||
unsigned int, gfp_t);
|
||||
int blk_rq_append_bio(struct request *rq, struct bio *bio);
|
||||
void blk_execute_rq_nowait(struct gendisk *, struct request *, int,
|
||||
rq_end_io_fn *);
|
||||
blk_status_t blk_execute_rq(struct gendisk *bd_disk, struct request *rq,
|
||||
int at_head);
|
||||
void blk_execute_rq_nowait(struct request *rq, bool at_head,
|
||||
rq_end_io_fn *end_io);
|
||||
blk_status_t blk_execute_rq(struct request *rq, bool at_head);
|
||||
|
||||
struct req_iterator {
|
||||
struct bvec_iter iter;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue