aboutsummaryrefslogtreecommitdiffstats
path: root/block/blk-barrier.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/blk-barrier.c')
-rw-r--r--block/blk-barrier.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/block/blk-barrier.c b/block/blk-barrier.c
index 8713c2fbc4f6..0ab81a0a7502 100644
--- a/block/blk-barrier.c
+++ b/block/blk-barrier.c
@@ -180,7 +180,7 @@ static inline bool start_ordered(struct request_queue *q, struct request **rqp)
180 } 180 }
181 181
182 /* stash away the original request */ 182 /* stash away the original request */
183 elv_dequeue_request(q, rq); 183 blk_dequeue_request(rq);
184 q->orig_bar_rq = rq; 184 q->orig_bar_rq = rq;
185 rq = NULL; 185 rq = NULL;
186 186
@@ -248,7 +248,7 @@ bool blk_do_ordered(struct request_queue *q, struct request **rqp)
248 * Queue ordering not supported. Terminate 248 * Queue ordering not supported. Terminate
249 * with prejudice. 249 * with prejudice.
250 */ 250 */
251 elv_dequeue_request(q, rq); 251 blk_dequeue_request(rq);
252 __blk_end_request_all(rq, -EOPNOTSUPP); 252 __blk_end_request_all(rq, -EOPNOTSUPP);
253 *rqp = NULL; 253 *rqp = NULL;
254 return false; 254 return false;