]> git.baikalelectronics.ru Git - kernel.git/commit
rnbd-srv: simplify rnbd_srv_fill_msg_open_rsp
authorChristoph Hellwig <hch@lst.de>
Fri, 9 Sep 2022 13:15:06 +0000 (15:15 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 21 Sep 2022 14:35:23 +0000 (08:35 -0600)
commit9ad1532060d9bfa734cc22517e41683eb9726daa
treec3d7d3d93db582d13e9b76d9611f46ba9dc34540
parentb2bed51a5261f4266ecb857bba680a7f668d3ddf
rnbd-srv: simplify rnbd_srv_fill_msg_open_rsp

Remove all the wrappers and just get the information directly from
the block device, or where no such helpers exist the request_queue.

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-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/rnbd/rnbd-srv-dev.h
drivers/block/rnbd/rnbd-srv.c