]> git.baikalelectronics.ru Git - kernel.git/commit
rnbd-srv: remove struct rnbd_dev_blk_io
authorChristoph Hellwig <hch@lst.de>
Mon, 24 Jan 2022 09:10:59 +0000 (10:10 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 2 Feb 2022 14:49:59 +0000 (07:49 -0700)
commit9ef6154fc246324f0c71a4e8d0a612fd8ade2081
treea166cf3080a9ff66ea42b2282637aed194e7c7e8
parent6ff06b8408a08f4b5b2f4d29068fe2194d10496a
rnbd-srv: remove struct rnbd_dev_blk_io

Only the priv field of rnbd_dev_blk_io is used, so store the value of
that in bio->bi_private directly and remove the entire bio_set overhead.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jack Wang <jinpu.wang@ionos.com>
Link: https://lore.kernel.org/r/20220124091107.642561-12-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/rnbd/rnbd-srv-dev.c
drivers/block/rnbd/rnbd-srv-dev.h
drivers/block/rnbd/rnbd-srv.c
drivers/block/rnbd/rnbd-srv.h