block: cleanup remaining manual checks for PREFLUSH|FUA
authorJens Axboe <axboe@fb.com>
Fri, 27 Jan 2017 16:08:23 +0000 (09:08 -0700)
committerJens Axboe <axboe@fb.com>
Fri, 27 Jan 2017 16:08:23 +0000 (09:08 -0700)
commitf3a8ab7d55bc49b44baa229723e0b5b6ebacac4a
treef6432e779a0d4d5162e96662d384768706698284
parentbd6737f1ae92e2f1c6e8362efe96dbe7f18fa07d
block: cleanup remaining manual checks for PREFLUSH|FUA

Use op_is_flush() where applicable.

Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-core.c
block/blk-mq-sched.c