summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorLuis Chamberlain <mcgrof@kernel.org>2021-08-18 17:45:41 +0300
committerJens Axboe <axboe@kernel.dk>2021-08-23 21:55:45 +0300
commitdbb301f91fc855dccf9bc42fbc4281d89365906d (patch)
treed119010fda89414c2b12b585d489b6afefb095bb /block
parent83cbce9574462c6b4eed6797bdaf18fae6859ab3 (diff)
downloadlinux-dbb301f91fc855dccf9bc42fbc4281d89365906d.tar.xz
virtio_blk: 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> Reviewed-by: Hannes Reinecke <hare@suse.de> Link: https://lore.kernel.org/r/20210818144542.19305-11-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions