block: convert is_sync helpers to use REQ_OPs.
authorMike Christie <mchristi@redhat.com>
Sun, 5 Jun 2016 19:32:16 +0000 (14:32 -0500)
committerJens Axboe <axboe@fb.com>
Tue, 7 Jun 2016 19:41:38 +0000 (13:41 -0600)
commitd9d8c5c489f4969667a05727e9c2c4f78cffef1a
treea8702df6c2472686642702a8b9ce3db93b9ba034
parent8fe0d473f5477e9916d3ac581a226acfe83142be
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>
block/blk-core.c
block/blk-mq.c
block/cfq-iosched.c
include/linux/blkdev.h