Al Viro 60bb45297f __generic_file_write_iter(): fix handling of sync error after DIO
If DIO results in short write and sync write fails, we want to bugger off
whether the DIO part has written anything or not; the logics on the return
will take care of the right return value.

Cc: stable@vger.kernel.org [3.16]
Reported-by: Anton Altaparmakov <aia21@cam.ac.uk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2014-08-11 12:27:40 -04:00
..
2014-06-04 16:54:05 -07:00
2014-05-16 13:22:48 -04:00
2014-01-27 21:02:39 -08:00
2014-06-23 16:47:43 -07:00
2014-04-07 16:35:58 -07:00
2014-08-07 14:40:09 -04:00
2014-05-06 14:02:53 -04:00