diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2007-09-21 04:41:07 -0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2007-10-16 05:03:53 -0400 |
commit | a0cd128542cd9c67f27458a08e989db486a293ce (patch) | |
tree | bc4ca6dd3cbfa230de486d79480f7a99bbfb6232 /include/linux/blkdev.h | |
parent | 992c5ddaf1b8b85d2252339c4c89adf7469c09ca (diff) |
block: add end_queued_request() and end_dequeued_request() helpers
We can use this helper in the elevator core for BLKPREP_KILL, and it'll
also be useful for the empty barrier patch.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r-- | include/linux/blkdev.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 5ed888b04b29..610967992ddb 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h | |||
@@ -729,7 +729,9 @@ static inline void blk_run_address_space(struct address_space *mapping) | |||
729 | extern int end_that_request_first(struct request *, int, int); | 729 | extern int end_that_request_first(struct request *, int, int); |
730 | extern int end_that_request_chunk(struct request *, int, int); | 730 | extern int end_that_request_chunk(struct request *, int, int); |
731 | extern void end_that_request_last(struct request *, int); | 731 | extern void end_that_request_last(struct request *, int); |
732 | extern void end_request(struct request *req, int uptodate); | 732 | extern void end_request(struct request *, int); |
733 | extern void end_queued_request(struct request *, int); | ||
734 | extern void end_dequeued_request(struct request *, int); | ||
733 | extern void blk_complete_request(struct request *); | 735 | extern void blk_complete_request(struct request *); |
734 | 736 | ||
735 | /* | 737 | /* |