diff options
Diffstat (limited to 'include/linux/elevator.h')
-rw-r--r-- | include/linux/elevator.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/elevator.h b/include/linux/elevator.h index 76f4f6920744..f9b5ec38121a 100644 --- a/include/linux/elevator.h +++ b/include/linux/elevator.h | |||
@@ -79,7 +79,7 @@ struct elevator_queue | |||
79 | /* | 79 | /* |
80 | * block elevator interface | 80 | * block elevator interface |
81 | */ | 81 | */ |
82 | extern void elv_dispatch_insert(request_queue_t *, struct request *, int); | 82 | extern void elv_dispatch_sort(request_queue_t *, struct request *); |
83 | extern void elv_add_request(request_queue_t *, struct request *, int, int); | 83 | extern void elv_add_request(request_queue_t *, struct request *, int, int); |
84 | extern void __elv_add_request(request_queue_t *, struct request *, int, int); | 84 | extern void __elv_add_request(request_queue_t *, struct request *, int, int); |
85 | extern int elv_merge(request_queue_t *, struct request **, struct bio *); | 85 | extern int elv_merge(request_queue_t *, struct request **, struct bio *); |
@@ -140,4 +140,6 @@ enum { | |||
140 | ELV_MQUEUE_MUST, | 140 | ELV_MQUEUE_MUST, |
141 | }; | 141 | }; |
142 | 142 | ||
143 | #define rq_end_sector(rq) ((rq)->sector + (rq)->nr_sectors) | ||
144 | |||
143 | #endif | 145 | #endif |