aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/blkdev.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r--include/linux/blkdev.h8
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 *);
745extern unsigned int blk_rq_bytes(struct request *rq); 745extern unsigned int blk_rq_bytes(struct request *rq);
746extern unsigned int blk_rq_cur_bytes(struct request *rq); 746extern 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
756static inline void blkdev_dequeue_request(struct request *req) 748static inline void blkdev_dequeue_request(struct request *req)
757{ 749{
758 elv_dequeue_request(req->q, req); 750 elv_dequeue_request(req->q, req);