]> Git Repo - qemu.git/commit - block/io.c
block: refactor bdrv_check_request: add errp
authorVladimir Sementsov-Ogievskiy <[email protected]>
Fri, 11 Dec 2020 18:39:19 +0000 (21:39 +0300)
committerEric Blake <[email protected]>
Wed, 3 Feb 2021 14:00:33 +0000 (08:00 -0600)
commit69b55e03f7e65a36eb954d0b7d4698b258df2708
tree8a5c36845a2804a3ad04147c2de3bc727a840a48
parentc9308314460f46c2bbc4a672a3a39ac842434bf1
block: refactor bdrv_check_request: add errp

It's better to pass &error_abort than just assert that result is 0: on
crash, we'll immediately see the reason in the backtrace.

Signed-off-by: Vladimir Sementsov-Ogievskiy <[email protected]>
Message-Id: <20201211183934[email protected]>
Reviewed-by: Eric Blake <[email protected]>
[eblake: fix iotest 206 fallout]
Signed-off-by: Eric Blake <[email protected]>
block/file-posix.c
block/io.c
include/block/block_int.h
tests/qemu-iotests/206.out
tests/test-write-threshold.c
This page took 0.02624 seconds and 4 git commands to generate.