Skip to content
Commit 258896fc authored by Dmitry Fomichev's avatar Dmitry Fomichev Committed by Michael S. Tsirkin
Browse files

virtio-blk: use a helper to handle request queuing errors



Define a new helper function, virtblk_fail_to_queue(), to
clean up the error handling code in virtio_queue_rq().

Signed-off-by: default avatarDmitry Fomichev <dmitry.fomichev@wdc.com>
Message-Id: <20221016034127.330942-2-dmitry.fomichev@wdc.com>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent c262f75c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment