commit | ed73919124b2e48490adbbe48ffe885a2a4c6fee | [log] [tgz] |
---|---|---|
author | Luis Chamberlain <mcgrof@kernel.org> | Wed Nov 03 16:04:32 2021 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Nov 04 05:48:50 2021 -0600 |
tree | 6cdafcef20ffa374710c22104ca79458f8a6b992 | |
parent | f583eaef0af39b792d74e39721b5ba4b6948a270 [diff] |
mtd/ubi/block: 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> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org> Link: https://lore.kernel.org/r/20211103230437.1639990-10-mcgrof@kernel.org Signed-off-by: Jens Axboe <axboe@kernel.dk>