summaryrefslogtreecommitdiffstats
path: root/fs/nilfs2
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-08-08 12:39:16 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2014-08-11 12:27:40 -0400
commit60bb45297f7551833346c5cebc6d483ea17ea5f2 (patch)
treefc2e8ba9515c9df6a651536b3cc00f4256f97852 /fs/nilfs2
parentc7f3888ad7f0932a87fb76e6e4edff2a90cc7920 (diff)
downloadop-kernel-dev-60bb45297f7551833346c5cebc6d483ea17ea5f2.zip
op-kernel-dev-60bb45297f7551833346c5cebc6d483ea17ea5f2.tar.gz
__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>
Diffstat (limited to 'fs/nilfs2')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud