diff options
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r-- | include/linux/blkdev.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index eb5e94803892..95bb551273ab 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h | |||
@@ -1101,7 +1101,8 @@ static inline bool blk_needs_flush_plug(struct task_struct *tsk) | |||
1101 | /* | 1101 | /* |
1102 | * tag stuff | 1102 | * tag stuff |
1103 | */ | 1103 | */ |
1104 | #define blk_rq_tagged(rq) ((rq)->cmd_flags & REQ_QUEUED) | 1104 | #define blk_rq_tagged(rq) \ |
1105 | ((rq)->mq_ctx || ((rq)->cmd_flags & REQ_QUEUED)) | ||
1105 | extern int blk_queue_start_tag(struct request_queue *, struct request *); | 1106 | extern int blk_queue_start_tag(struct request_queue *, struct request *); |
1106 | extern struct request *blk_queue_find_tag(struct request_queue *, int); | 1107 | extern struct request *blk_queue_find_tag(struct request_queue *, int); |
1107 | extern void blk_queue_end_tag(struct request_queue *, struct request *); | 1108 | extern void blk_queue_end_tag(struct request_queue *, struct request *); |