mm/mmap: move common defines to mman-common.h
[platform/kernel/linux-starfive.git] / block / blk-mq.c
index e5ef40c..b038ec6 100644 (file)
@@ -1973,7 +1973,7 @@ static blk_qc_t blk_mq_make_request(struct request_queue *q, struct bio *bio)
 
        blk_mq_bio_to_request(rq, bio, nr_segs);
 
 
        blk_mq_bio_to_request(rq, bio, nr_segs);
 
-       plug = current->plug;
+       plug = blk_mq_plug(q, bio);
        if (unlikely(is_flush_fua)) {
                /* bypass scheduler for flush rq */
                blk_insert_flush(rq);
        if (unlikely(is_flush_fua)) {
                /* bypass scheduler for flush rq */
                blk_insert_flush(rq);