diff options
author | Jens Axboe <axboe@suse.de> | 2006-07-28 03:32:57 -0400 |
---|---|---|
committer | Jens Axboe <axboe@nelson.home.kernel.dk> | 2006-09-30 14:29:23 -0400 |
commit | cb78b285c8f9d59b0d4e4f6a54c2977ce1d9b880 (patch) | |
tree | fec08d228e25103962c56f8cd43727d9d6af23c8 /include/linux/elevator.h | |
parent | cdd6026217c0e4cda2efce1bdc318661bef1f66f (diff) |
[PATCH] Drop useless bio passing in may_queue/set_request API
It's not needed for anything, so kill the bio passing.
Signed-off-by: Jens Axboe <axboe@suse.de>
Diffstat (limited to 'include/linux/elevator.h')
-rw-r--r-- | include/linux/elevator.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/elevator.h b/include/linux/elevator.h index 0e7b1a733919..cc81645a3e18 100644 --- a/include/linux/elevator.h +++ b/include/linux/elevator.h | |||
@@ -14,9 +14,9 @@ typedef void (elevator_add_req_fn) (request_queue_t *, struct request *); | |||
14 | typedef int (elevator_queue_empty_fn) (request_queue_t *); | 14 | typedef int (elevator_queue_empty_fn) (request_queue_t *); |
15 | typedef struct request *(elevator_request_list_fn) (request_queue_t *, struct request *); | 15 | typedef struct request *(elevator_request_list_fn) (request_queue_t *, struct request *); |
16 | typedef void (elevator_completed_req_fn) (request_queue_t *, struct request *); | 16 | typedef void (elevator_completed_req_fn) (request_queue_t *, struct request *); |
17 | typedef int (elevator_may_queue_fn) (request_queue_t *, int, struct bio *); | 17 | typedef int (elevator_may_queue_fn) (request_queue_t *, int); |
18 | 18 | ||
19 | typedef int (elevator_set_req_fn) (request_queue_t *, struct request *, struct bio *, gfp_t); | 19 | typedef int (elevator_set_req_fn) (request_queue_t *, struct request *, gfp_t); |
20 | typedef void (elevator_put_req_fn) (request_queue_t *, struct request *); | 20 | typedef void (elevator_put_req_fn) (request_queue_t *, struct request *); |
21 | typedef void (elevator_activate_req_fn) (request_queue_t *, struct request *); | 21 | typedef void (elevator_activate_req_fn) (request_queue_t *, struct request *); |
22 | typedef void (elevator_deactivate_req_fn) (request_queue_t *, struct request *); | 22 | typedef void (elevator_deactivate_req_fn) (request_queue_t *, struct request *); |
@@ -105,9 +105,9 @@ extern struct request *elv_former_request(request_queue_t *, struct request *); | |||
105 | extern struct request *elv_latter_request(request_queue_t *, struct request *); | 105 | extern struct request *elv_latter_request(request_queue_t *, struct request *); |
106 | extern int elv_register_queue(request_queue_t *q); | 106 | extern int elv_register_queue(request_queue_t *q); |
107 | extern void elv_unregister_queue(request_queue_t *q); | 107 | extern void elv_unregister_queue(request_queue_t *q); |
108 | extern int elv_may_queue(request_queue_t *, int, struct bio *); | 108 | extern int elv_may_queue(request_queue_t *, int); |
109 | extern void elv_completed_request(request_queue_t *, struct request *); | 109 | extern void elv_completed_request(request_queue_t *, struct request *); |
110 | extern int elv_set_request(request_queue_t *, struct request *, struct bio *, gfp_t); | 110 | extern int elv_set_request(request_queue_t *, struct request *, gfp_t); |
111 | extern void elv_put_request(request_queue_t *, struct request *); | 111 | extern void elv_put_request(request_queue_t *, struct request *); |
112 | 112 | ||
113 | /* | 113 | /* |