commit | 905705f083a936e49d5259e0bb539c53d5e0a9be | [log] [tgz] |
---|---|---|
author | Luis Chamberlain <mcgrof@kernel.org> | Mon Sep 27 14:59:57 2021 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Oct 18 14:41:36 2021 -0600 |
tree | bea71678bc6cc7464198e7bb6719954a642fb6b5 | |
parent | 0a593fbbc245a85940ed34caa3aa1e4cb060c54b [diff] |
loop: add error handling support for add_disk() We never checked for errors on add_disk() as this function returned void. Now that this is fixed, use the shiny new error handling. Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>