Re: [PATCH] block/block-copy: block_copy_dirty_clusters: fix failure check

2020-06-03 Thread Max Reitz
On 26.05.20 20:13, Vladimir Sementsov-Ogievskiy wrote: > ret may be > 0 on success path at this point. Fix assertion, which may > crash currently. > > Fixes: 4ce5dd3e9b5ee0fac18625860eb3727399ee965e > Signed-off-by: Vladimir Sementsov-Ogievskiy > --- > block/block-copy.c | 4 +++- > 1 file chang

[PATCH] block/block-copy: block_copy_dirty_clusters: fix failure check

2020-05-26 Thread Vladimir Sementsov-Ogievskiy
ret may be > 0 on success path at this point. Fix assertion, which may crash currently. Fixes: 4ce5dd3e9b5ee0fac18625860eb3727399ee965e Signed-off-by: Vladimir Sementsov-Ogievskiy --- block/block-copy.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/block/block-copy.c b/b