Message ID | 1478007617-18715-4-git-send-email-hch@lst.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/block/umem.c b/drivers/block/umem.c index be90e15..46f4c71 100644 --- a/drivers/block/umem.c +++ b/drivers/block/umem.c @@ -535,7 +535,7 @@ static blk_qc_t mm_make_request(struct request_queue *q, struct bio *bio) *card->biotail = bio; bio->bi_next = NULL; card->biotail = &bio->bi_next; - if (bio->bi_opf & REQ_SYNC || !mm_check_plugged(card)) + if (op_is_sync(bio->bi_opf) || !mm_check_plugged(card)) activate(card); spin_unlock_irq(&card->lock);
Signed-off-by: Christoph Hellwig <hch@lst.de> --- drivers/block/umem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)