Luis Chamberlain 83cbce9574 block: add error handling for device_add_disk / add_disk
Properly unwind on errors in device_add_disk.  This is the initial work
as drivers are not converted yet, which will follow in separate patches.

Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
[hch: major rebase.  All bugs are probably mine]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Link: https://lore.kernel.org/r/20210818144542.19305-10-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2021-08-23 12:55:45 -06:00
..
2021-08-18 07:21:12 -06:00
2021-06-17 15:51:20 +02:00
2020-03-17 20:55:21 +01:00
2021-07-09 12:05:33 -07:00
2021-07-09 12:05:33 -07:00
2021-07-09 12:05:33 -07:00