rnbd-clt: kill read_only from struct rnbd_clt_dev
authorGuoqing Jiang <guoqing.jiang@linux.dev>
Wed, 6 Jul 2022 13:31:47 +0000 (21:31 +0800)
committerJens Axboe <axboe@kernel.dk>
Wed, 6 Jul 2022 13:38:40 +0000 (07:38 -0600)
commite8d5be284d3089aa5c3d957e53f71d2eca72b574
tree43bc4dcc8aca0184b21143db1b63c34f72161f07
parent953d0c1b1d29c75221ae2d14a0f937f2e0f90592
rnbd-clt: kill read_only from struct rnbd_clt_dev

The member is not needed since we can call get_disk_ro to achieve the
same goal.

Acked-by: Jack Wang <jinpu.wang@ionos.com>
Signed-off-by: Guoqing Jiang <guoqing.jiang@linux.dev>
Link: https://lore.kernel.org/r/20220706133152.12058-4-guoqing.jiang@linux.dev
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/rnbd/rnbd-clt.c
drivers/block/rnbd/rnbd-clt.h