aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2021-08-04 11:41:46 +0200
committerJens Axboe <[email protected]>2021-08-09 11:50:43 -0600
commit89f871af1b26d98d983cba7ed0e86effa45ba5f8 (patch)
treeec9e14d1842a1777830e3878dcffb054552c5714 /lib/mpi/mpiutil.c
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 <[email protected]> Reviewed-by: Mike Snitzer <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions