diff options
author | Mike Christie <mchristi@redhat.com> | 2016-06-05 15:32:16 -0400 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-06-07 15:41:38 -0400 |
commit | d9d8c5c489f4969667a05727e9c2c4f78cffef1a (patch) | |
tree | a8702df6c2472686642702a8b9ce3db93b9ba034 /block/cfq-iosched.c | |
parent | 8fe0d473f5477e9916d3ac581a226acfe83142be (diff) |
block: convert is_sync helpers to use REQ_OPs.
This patch converts the is_sync helpers to use separate variables
for the operation and flags.
Signed-off-by: Mike Christie <mchristi@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/cfq-iosched.c')
-rw-r--r-- | block/cfq-iosched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/cfq-iosched.c b/block/cfq-iosched.c index 3dafdbad8f9c..b1154861f4c9 100644 --- a/block/cfq-iosched.c +++ b/block/cfq-iosched.c | |||
@@ -4311,7 +4311,7 @@ static int cfq_may_queue(struct request_queue *q, int op, int op_flags) | |||
4311 | if (!cic) | 4311 | if (!cic) |
4312 | return ELV_MQUEUE_MAY; | 4312 | return ELV_MQUEUE_MAY; |
4313 | 4313 | ||
4314 | cfqq = cic_to_cfqq(cic, rw_is_sync(op | op_flags)); | 4314 | cfqq = cic_to_cfqq(cic, rw_is_sync(op, op_flags)); |
4315 | if (cfqq) { | 4315 | if (cfqq) { |
4316 | cfq_init_prio_data(cfqq, cic); | 4316 | cfq_init_prio_data(cfqq, cic); |
4317 | 4317 | ||