aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/blkdev.h
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2019-05-23 11:43:11 -0400
committerJens Axboe <axboe@kernel.dk>2019-06-20 05:26:19 -0400
commit3a211b71529fdd0a89095b18fb19155db0c8fb5d (patch)
treee5b2a0c80b8bb6e55ad0e031a07f16b73979d2c4 /include/linux/blkdev.h
parent243d9f78d942c4ed4a684202814c6cd0d1bcd954 (diff)
blk-core: Remove blk_end_request*() declarations
Commit a1ce35fa49852db60fc6e268 ("block: remove dead elevator code") deleted blk_end_request() and friends, but some declaration are still left. Purge them. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r--include/linux/blkdev.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index 90e6914bea0c..ad49a775c54f 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -1026,21 +1026,9 @@ void blk_steal_bios(struct bio_list *list, struct request *rq);
1026 * 1026 *
1027 * blk_update_request() completes given number of bytes and updates 1027 * blk_update_request() completes given number of bytes and updates
1028 * the request without completing it. 1028 * the request without completing it.
1029 *
1030 * blk_end_request() and friends. __blk_end_request() must be called
1031 * with the request queue spinlock acquired.
1032 *
1033 * Several drivers define their own end_request and call
1034 * blk_end_request() for parts of the original function.
1035 * This prevents code duplication in drivers.
1036 */ 1029 */
1037extern bool blk_update_request(struct request *rq, blk_status_t error, 1030extern bool blk_update_request(struct request *rq, blk_status_t error,
1038 unsigned int nr_bytes); 1031 unsigned int nr_bytes);
1039extern void blk_end_request_all(struct request *rq, blk_status_t error);
1040extern bool __blk_end_request(struct request *rq, blk_status_t error,
1041 unsigned int nr_bytes);
1042extern void __blk_end_request_all(struct request *rq, blk_status_t error);
1043extern bool __blk_end_request_cur(struct request *rq, blk_status_t error);
1044 1032
1045extern void __blk_complete_request(struct request *); 1033extern void __blk_complete_request(struct request *);
1046extern void blk_abort_request(struct request *); 1034extern void blk_abort_request(struct request *);