rnbd-srv: remove struct rnbd_dev
authorChristoph Hellwig <hch@lst.de>
Fri, 9 Sep 2022 13:15:09 +0000 (15:15 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 21 Sep 2022 14:35:23 +0000 (08:35 -0600)
commitf7de4886fe8f008ac4f7beeacd9bedb6b91241f5
tree4bba49fcc898c94925f18f6891d0f8f4247d2f58
parent6856b194b29f066b2d6d9e10b91ca1a4c9d8fbb2
rnbd-srv: remove struct rnbd_dev

Given that rnbd_srv_sess_dev already has an open_flags member, there
is no need for the rnbd_dev indirection as a simple block_device pointer
works just as well.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Acked-by: Jack Wang <jinpu.wang@ionos.com>
Link: https://lore.kernel.org/r/20220909131509.3263924-5-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/rnbd/rnbd-srv-dev.h [deleted file]
drivers/block/rnbd/rnbd-srv.c
drivers/block/rnbd/rnbd-srv.h