aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/elevator.h8
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 *);
14typedef int (elevator_queue_empty_fn) (request_queue_t *); 14typedef int (elevator_queue_empty_fn) (request_queue_t *);
15typedef struct request *(elevator_request_list_fn) (request_queue_t *, struct request *); 15typedef struct request *(elevator_request_list_fn) (request_queue_t *, struct request *);
16typedef void (elevator_completed_req_fn) (request_queue_t *, struct request *); 16typedef void (elevator_completed_req_fn) (request_queue_t *, struct request *);
17typedef int (elevator_may_queue_fn) (request_queue_t *, int, struct bio *); 17typedef int (elevator_may_queue_fn) (request_queue_t *, int);
18 18
19typedef int (elevator_set_req_fn) (request_queue_t *, struct request *, struct bio *, gfp_t); 19typedef int (elevator_set_req_fn) (request_queue_t *, struct request *, gfp_t);
20typedef void (elevator_put_req_fn) (request_queue_t *, struct request *); 20typedef void (elevator_put_req_fn) (request_queue_t *, struct request *);
21typedef void (elevator_activate_req_fn) (request_queue_t *, struct request *); 21typedef void (elevator_activate_req_fn) (request_queue_t *, struct request *);
22typedef void (elevator_deactivate_req_fn) (request_queue_t *, struct request *); 22typedef 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 *);
105extern struct request *elv_latter_request(request_queue_t *, struct request *); 105extern struct request *elv_latter_request(request_queue_t *, struct request *);
106extern int elv_register_queue(request_queue_t *q); 106extern int elv_register_queue(request_queue_t *q);
107extern void elv_unregister_queue(request_queue_t *q); 107extern void elv_unregister_queue(request_queue_t *q);
108extern int elv_may_queue(request_queue_t *, int, struct bio *); 108extern int elv_may_queue(request_queue_t *, int);
109extern void elv_completed_request(request_queue_t *, struct request *); 109extern void elv_completed_request(request_queue_t *, struct request *);
110extern int elv_set_request(request_queue_t *, struct request *, struct bio *, gfp_t); 110extern int elv_set_request(request_queue_t *, struct request *, gfp_t);
111extern void elv_put_request(request_queue_t *, struct request *); 111extern void elv_put_request(request_queue_t *, struct request *);
112 112
113/* 113/*