summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-08-04 11:41:46 +0200
committerJens Axboe <axboe@kernel.dk>2021-08-09 11:50:43 -0600
commit89f871af1b26d98d983cba7ed0e86effa45ba5f8 (patch)
treeec9e14d1842a1777830e3878dcffb054552c5714 /include/linux
parentba30585936b0b88f0fb2b19be279b346a6cc87eb (diff)
dm: delay registering the gendisk
device mapper is currently the only outlier that tries to call register_disk after add_disk, leading to fairly inconsistent state of these block layer data structures. Instead change device-mapper to just register the gendisk later now that the holder mechanism can cope with that. Note that this introduces a user visible change: the dm kobject is now only visible after the initial table has been loaded. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Mike Snitzer <snitzer@redhat.com> Link: https://lore.kernel.org/r/20210804094147.459763-8-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions