Skip to content
Snippets Groups Projects
Commit 27c97abc authored by Luis Chamberlain's avatar Luis Chamberlain Committed by Jens Axboe
Browse files

rbd: add add_disk() error handling


We never checked for errors on add_disk() as this function
returned void. Now that this is fixed, use the shiny new
error handling.

Signed-off-by: default avatarLuis Chamberlain <mcgrof@kernel.org>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent d6ac27c6
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment