Skip to content

Commit 681a561

Browse files
fujitabzolnier
authored andcommitted
block: unexport blk_end_sync_rq
All the users of blk_end_sync_rq has gone (they are converted to use blk_execute_rq). This unexports blk_end_sync_rq. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Cc: Borislav Petkov <petkovbb@gmail.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
1 parent 52a93ba commit 681a561

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

‎block/blk-exec.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* @rq: request to complete
1919
* @error: end io status of the request
2020
*/
21-
void blk_end_sync_rq(struct request *rq, int error)
21+
static void blk_end_sync_rq(struct request *rq, int error)
2222
{
2323
struct completion *waiting = rq->end_io_data;
2424

@@ -31,7 +31,6 @@ void blk_end_sync_rq(struct request *rq, int error)
3131
*/
3232
complete(waiting);
3333
}
34-
EXPORT_SYMBOL(blk_end_sync_rq);
3534

3635
/**
3736
* blk_execute_rq_nowait - insert a request into queue for execution

‎include/linux/blkdev.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,6 @@ extern void generic_make_request(struct bio *bio);
623623
extern void blk_rq_init(struct request_queue *q, struct request *rq);
624624
extern void blk_put_request(struct request *);
625625
extern void __blk_put_request(struct request_queue *, struct request *);
626-
extern void blk_end_sync_rq(struct request *rq, int error);
627626
extern struct request *blk_get_request(struct request_queue *, int, gfp_t);
628627
extern void blk_insert_request(struct request_queue *, struct request *, int, void *);
629628
extern void blk_requeue_request(struct request_queue *, struct request *);

0 commit comments

Comments
 (0)