diff options
-rw-r--r-- | block/blk-exec.c | 3 | ||||
-rw-r--r-- | include/linux/blkdev.h | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/block/blk-exec.c b/block/blk-exec.c index 4f52f2792059..9bceff7674f2 100644 --- a/block/blk-exec.c +++ b/block/blk-exec.c | |||
@@ -18,7 +18,7 @@ | |||
18 | * @rq: request to complete | 18 | * @rq: request to complete |
19 | * @error: end io status of the request | 19 | * @error: end io status of the request |
20 | */ | 20 | */ |
21 | void blk_end_sync_rq(struct request *rq, int error) | 21 | static void blk_end_sync_rq(struct request *rq, int error) |
22 | { | 22 | { |
23 | struct completion *waiting = rq->end_io_data; | 23 | struct completion *waiting = rq->end_io_data; |
24 | 24 | ||
@@ -31,7 +31,6 @@ void blk_end_sync_rq(struct request *rq, int error) | |||
31 | */ | 31 | */ |
32 | complete(waiting); | 32 | complete(waiting); |
33 | } | 33 | } |
34 | EXPORT_SYMBOL(blk_end_sync_rq); | ||
35 | 34 | ||
36 | /** | 35 | /** |
37 | * blk_execute_rq_nowait - insert a request into queue for execution | 36 | * blk_execute_rq_nowait - insert a request into queue for execution |
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index d2a1b71e93c3..1171abd7eb17 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h | |||
@@ -623,7 +623,6 @@ extern void generic_make_request(struct bio *bio); | |||
623 | extern void blk_rq_init(struct request_queue *q, struct request *rq); | 623 | extern void blk_rq_init(struct request_queue *q, struct request *rq); |
624 | extern void blk_put_request(struct request *); | 624 | extern void blk_put_request(struct request *); |
625 | extern void __blk_put_request(struct request_queue *, struct request *); | 625 | extern void __blk_put_request(struct request_queue *, struct request *); |
626 | extern void blk_end_sync_rq(struct request *rq, int error); | ||
627 | extern struct request *blk_get_request(struct request_queue *, int, gfp_t); | 626 | extern struct request *blk_get_request(struct request_queue *, int, gfp_t); |
628 | extern void blk_insert_request(struct request_queue *, struct request *, int, void *); | 627 | extern void blk_insert_request(struct request_queue *, struct request *, int, void *); |
629 | extern void blk_requeue_request(struct request_queue *, struct request *); | 628 | extern void blk_requeue_request(struct request_queue *, struct request *); |