Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tlibio: Always return total amount of read bytes
This issue behind this patch is noticed while fixing the lio_write_buffer(). Here in lio_read_buffer() we have similar situation: in case of a partial read, we cycle, but lio_read_buffer() returns back the amount of bytes read during the last read() call while it's expected to return the whole amount of read bytes. Reviewed-by: Petr Vorel <pvorel@suse.cz> Signed-off-by: Konstantin Khorenko <khorenko@virtuozzo.com>
- Loading branch information