ubd: remove the ubd_gendisk array
authorChristoph Hellwig <hch@lst.de>
Thu, 22 Feb 2024 07:24:11 +0000 (08:24 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 27 Feb 2024 21:21:15 +0000 (14:21 -0700)
commit32621ad7a7ea4c3add1dd6bd27b62c2b22500d54
tree5085ea9b7a76ad07ec2c9724f88178071c33fb8e
parentba3f67c1163812b5d7ec33705c31edaa30ce6c51
ubd: remove the ubd_gendisk array

And add a disk pointer to the ubd structure instead to keep all
the per-device information together.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Richard Weinberger <richard@nod.at>
Link: https://lore.kernel.org/r/20240222072417.3773131-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
arch/um/drivers/ubd_kern.c