Bandan 44dd419680 usb-mtp: fix error conditions for write operation
Return STORE_FULL if we can't write all the bytes but
return incomplete transfer if data received is less then
what was specified in the metadata. Also, use d->offset
as the file size which is valid for all file sizes.

Signed-off-by: Bandan <bsd@redhat.com>
Message-id: 20180907220851.9658-2-bsd@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2018-10-01 10:49:53 +02:00
..
2018-09-24 18:49:11 +01:00
2018-09-25 17:26:18 +02:00
2018-09-25 13:30:45 +01:00
2018-09-25 13:30:45 +01:00
2018-09-25 15:13:24 +01:00
2018-09-24 18:49:11 +01:00