Am 29.05.2014 um 00:19 hat Max Reitz geschrieben: > If bdrv_pread() returns an error, it is very unlikely that it was > ENOMEM. In this case, the return value should be passed along; as > bdrv_pread() will always either return the number of bytes read or a > negative value (the error code), the condition for checking whether > bdrv_pread() failed can be simplified (and clarified) as well. > > Signed-off-by: Max Reitz <mre...@redhat.com>
Thanks, I applied this to my local branch with the malloc changes that you depend on. I'll either merge it together with my patches or include it in a v3 of my series. Kevin