commit | 2e9e31bea01997450397d64da43b6675e0adb9e3 | [log] [tgz] |
---|---|---|
author | Luis Chamberlain <mcgrof@kernel.org> | Fri Oct 15 16:30:27 2021 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Oct 21 09:00:56 2021 -0600 |
tree | b453e4458ac8cd790627d4f5500e0cf36e53cf2c | |
parent | 66638f163a2b5c5b462ca38525129b14a20117eb [diff] |
rnbd: 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. Acked-by: Jack Wang <jinpu.wang@ionos.com> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org> Link: https://lore.kernel.org/r/20211015233028.2167651-9-mcgrof@kernel.org Signed-off-by: Jens Axboe <axboe@kernel.dk>