Commit abf54548 changed it from an 'rw' flags type to the
newer ops based interface, but now we're effectively leaking
some bdev internals to the rest of the kernel. Since we only
care about whether it's a read or a write at that level, just
pass in a bool 'is_write' parameter instead.
Then we can also move op_is_write() and friends back under
Reviewed-by: Mike Christie <firstname.lastname@example.org>
Signed-off-by: Jens Axboe <email@example.com>