Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 60bb4529 authored by Al Viro's avatar Al Viro
Browse files

__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: default avatarAnton Altaparmakov <aia21@cam.ac.uk>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent c7f3888a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment