On 12/11/20 12:39 PM, Vladimir Sementsov-Ogievskiy wrote: > 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 <vsement...@virtuozzo.com> > --- > include/block/block_int.h | 2 +- > block/file-posix.c | 2 +- > block/io.c | 29 ++++++++++++++++++++++------- > tests/test-write-threshold.c | 5 +++-- > 4 files changed, 27 insertions(+), 11 deletions(-) > > diff --git a/include/block/block_int.h b/include/block/block_int.h Reviewed-by: Eric Blake <ebl...@redhat.com>
-- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org