rbd: get rid of rbd_mapping::read_only
authorIlya Dryomov <idryomov@gmail.com>
Thu, 12 Oct 2017 10:35:19 +0000 (12:35 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 13 Nov 2017 11:11:41 +0000 (12:11 +0100)
commit9568c93ecab92d3ee60f2f6bec4e4d91641c61a6
tree2d0b7a3a2944cf9f8a4f492d3dd6f366206b02a0
parent1de797bb248d2276337139fecaffbd3bbc0f736d
rbd: get rid of rbd_mapping::read_only

It is redundant -- rw/ro state is stored in hd_struct and managed by
the block layer.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
drivers/block/rbd.c