diff options
author | Luis Chamberlain <mcgrof@kernel.org> | 2021-10-15 16:30:27 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-10-21 09:00:56 -0600 |
commit | 2e9e31bea01997450397d64da43b6675e0adb9e3 (patch) | |
tree | b453e4458ac8cd790627d4f5500e0cf36e53cf2c /include/linux/debugobjects.h | |
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>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions