Re: [Qemu-devel] [PATCH] usb-mtp: change default to success for usb_mtp_update_object

2019-04-17 Thread Gerd Hoffmann
On Mon, Apr 15, 2019 at 12:50:43PM -0400, Bandan Das wrote: > Forgot to cc people ... > > Bandan Das writes: > > > Commit c5ead51f90cf (usb-mtp: return incomplete transfer on a lstat > > failure) checks if lstat succeeded when updating attributes of a > > file. However, it also changed behavior

Re: [Qemu-devel] [PATCH] usb-mtp: change default to success for usb_mtp_update_object

2019-04-15 Thread Bandan Das
Forgot to cc people ... Bandan Das writes: > Commit c5ead51f90cf (usb-mtp: return incomplete transfer on a lstat > failure) checks if lstat succeeded when updating attributes of a > file. However, it also changed behavior to return an error by > default. This is incorrect because for smaller fil

[Qemu-devel] [PATCH] usb-mtp: change default to success for usb_mtp_update_object

2019-04-15 Thread Bandan Das
Commit c5ead51f90cf (usb-mtp: return incomplete transfer on a lstat failure) checks if lstat succeeded when updating attributes of a file. However, it also changed behavior to return an error by default. This is incorrect because for smaller file sizes, Qemu will attempt to write the file in one