OSDN Git Service

block: deprecate autoloading based on dev_t
authorChristoph Hellwig <hch@lst.de>
Tue, 4 Jan 2022 07:16:47 +0000 (08:16 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 2 Feb 2022 14:49:58 +0000 (07:49 -0700)
commitfbdee71bb5d8d054e1bdb5af4c540f2cb86fe296
tree46cfbed71aa40374f489df96373d2b96fcf1e0f5
parent26291c54e111ff6ba87a164d85d4a4e134b7315c
block: deprecate autoloading based on dev_t

Make the legacy dev_t based autoloading optional and add a deprecation
warning.  This kind of autoloading has ceased to be useful about 20 years
ago.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20220104071647.164918-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/Kconfig
block/bdev.c
block/genhd.c