]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
pd: add error handling support for add_disk()
authorLuis Chamberlain <mcgrof@kernel.org>
Mon, 27 Sep 2021 22:01:10 +0000 (15:01 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Oct 2021 20:41:36 +0000 (14:41 -0600)
commit3dfdd5f333bf16ec5057d508a574a3302ed84cfa
tree98ddaf0009aa7747051350172f86dd5d80754dac
parentb6fa069971bc427e19b8f3882a808f24530994ed
pd: 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/paride/pd.c