diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/blkdev.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 0c39ac75bed4..0ea82d222046 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h | |||
@@ -745,14 +745,6 @@ extern void blk_complete_request(struct request *); | |||
745 | extern unsigned int blk_rq_bytes(struct request *rq); | 745 | extern unsigned int blk_rq_bytes(struct request *rq); |
746 | extern unsigned int blk_rq_cur_bytes(struct request *rq); | 746 | extern unsigned int blk_rq_cur_bytes(struct request *rq); |
747 | 747 | ||
748 | /* | ||
749 | * end_that_request_first/chunk() takes an uptodate argument. we account | ||
750 | * any value <= as an io error. 0 means -EIO for compatability reasons, | ||
751 | * any other < 0 value is the direct error type. An uptodate value of | ||
752 | * 1 indicates successful io completion | ||
753 | */ | ||
754 | #define end_io_error(uptodate) (unlikely((uptodate) <= 0)) | ||
755 | |||
756 | static inline void blkdev_dequeue_request(struct request *req) | 748 | static inline void blkdev_dequeue_request(struct request *req) |
757 | { | 749 | { |
758 | elv_dequeue_request(req->q, req); | 750 | elv_dequeue_request(req->q, req); |