aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/blkdev.h
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2007-09-21 04:41:07 -0400
committerJens Axboe <jens.axboe@oracle.com>2007-10-16 05:03:53 -0400
commita0cd128542cd9c67f27458a08e989db486a293ce (patch)
treebc4ca6dd3cbfa230de486d79480f7a99bbfb6232 /include/linux/blkdev.h
parent992c5ddaf1b8b85d2252339c4c89adf7469c09ca (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.h4
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)
729extern int end_that_request_first(struct request *, int, int); 729extern int end_that_request_first(struct request *, int, int);
730extern int end_that_request_chunk(struct request *, int, int); 730extern int end_that_request_chunk(struct request *, int, int);
731extern void end_that_request_last(struct request *, int); 731extern void end_that_request_last(struct request *, int);
732extern void end_request(struct request *req, int uptodate); 732extern void end_request(struct request *, int);
733extern void end_queued_request(struct request *, int);
734extern void end_dequeued_request(struct request *, int);
733extern void blk_complete_request(struct request *); 735extern void blk_complete_request(struct request *);
734 736
735/* 737/*