aoe: add error handling support for add_disk()
authorLuis Chamberlain <mcgrof@kernel.org>
Mon, 27 Sep 2021 22:00:57 +0000 (15:00 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Oct 2021 20:41:36 +0000 (14:41 -0600)
commitd9c2bd252a4578419e0b863bfe3dd97b858ccd8e
tree0848c88a9516be8fe29c82ee2c2ee32fdf665146
parente1654f413fe08ffbc3292d8d2b8958b2cc5cb5e8
aoe: 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.

Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/aoe/aoeblk.c