diff options
author | Christoph Hellwig <hch@lst.de> | 2014-04-16 03:44:59 -0400 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-04-16 16:15:25 -0400 |
commit | 12120077b2612a243d158605640cd39266906667 (patch) | |
tree | cb125d1bb2a3441d7b29aced0d6bfe6f6dfafe48 /include/linux/blkdev.h | |
parent | f88a164b72bd51fe4c89e06ac9939f2afe39c7ed (diff) |
block: export blk_finish_request
This allows to mirror the blk-mq code flow for more a more readable I/O
completion handler in SCSI.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r-- | include/linux/blkdev.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 71288083a46f..20b26d4e53a2 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h | |||
@@ -936,6 +936,7 @@ extern struct request *blk_fetch_request(struct request_queue *q); | |||
936 | */ | 936 | */ |
937 | extern bool blk_update_request(struct request *rq, int error, | 937 | extern bool blk_update_request(struct request *rq, int error, |
938 | unsigned int nr_bytes); | 938 | unsigned int nr_bytes); |
939 | extern void blk_finish_request(struct request *rq, int error); | ||
939 | extern bool blk_end_request(struct request *rq, int error, | 940 | extern bool blk_end_request(struct request *rq, int error, |
940 | unsigned int nr_bytes); | 941 | unsigned int nr_bytes); |
941 | extern void blk_end_request_all(struct request *rq, int error); | 942 | extern void blk_end_request_all(struct request *rq, int error); |