Re: [Qemu-devel] [PATCH v2 09/20] mirror: Update signature of mirror_clip_sectors()

2017-06-05 Thread John Snow
On 05/10/2017 10:20 PM, Eric Blake wrote: > Rather than having a void function that modifies its input > in-place as the output, change the signature to reduce a layer > of indirection and return the result. > > Suggested-by: John Snow > Signed-off-by: Eric Blake > Reviewed-by: John Snow >

[Qemu-devel] [PATCH v2 09/20] mirror: Update signature of mirror_clip_sectors()

2017-05-10 Thread Eric Blake
Rather than having a void function that modifies its input in-place as the output, change the signature to reduce a layer of indirection and return the result. Suggested-by: John Snow Signed-off-by: Eric Blake --- v2: new patch --- block/mirror.c | 15 --- 1 file changed, 8 inserti