summaryrefslogtreecommitdiff
path: root/.mailmap
diff options
context:
space:
mode:
authorLuis Chamberlain <mcgrof@kernel.org>2021-10-16 02:30:24 +0300
committerJens Axboe <axboe@kernel.dk>2021-10-21 18:00:56 +0300
commit293a7c528803321479593d42d0898bb5a9769db1 (patch)
treee40b8d4381f1c89b2ca4f41b1010652e330dc9f5 /.mailmap
parent2961c3bbcaec0ed7fb7b9a465b3796f37f2294e5 (diff)
downloadlinux-293a7c528803321479593d42d0898bb5a9769db1.tar.xz
xen-blkfront: add error handling support for add_disk()
We never checked for errors on device_add_disk() as this function returned void. Now that this is fixed, use the shiny new error handling. The function xlvbd_alloc_gendisk() typically does the unwinding on error on allocating the disk and creating the tag, but since all that error handling was stuffed inside xlvbd_alloc_gendisk() we must repeat the tag free'ing as well. We set the info->rq to NULL to ensure blkif_free() doesn't crash on blk_mq_stop_hw_queues() on device_add_disk() error as the queue will be long gone by then. Reviewed-by: Juergen Gross <jgross@suse.com> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org> Link: https://lore.kernel.org/r/20211015233028.2167651-6-mcgrof@kernel.org Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions