]> git.baikalelectronics.ru Git - kernel.git/commit
ubd: remove the code to register as the legacy IDE driver
authorChristoph Hellwig <hch@lst.de>
Mon, 14 Jun 2021 06:07:58 +0000 (08:07 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 30 Jun 2021 21:34:04 +0000 (15:34 -0600)
commit7eb90f7e90a85b635b31bc0ac35846880c7470e7
tree464659be920e4cfc5035d71d061fc29b3c8de947
parent2f43dbf3a7423ba14d827965d37fb6a56aa90009
ubd: remove the code to register as the legacy IDE driver

With the legacy IDE driver long deprecated, and modern userspace being
much more flexible about dev_t assignments there is no reason to fake
a registration as the legacy IDE driver in ubd.  This registeration
is a little problematic as it registers the same request_queue for
multiple gendisks, so just remove it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-By: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Link: https://lore.kernel.org/r/20210614060759.3965724-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
arch/um/drivers/ubd_kern.c