summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2015-04-08 15:41:17 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2015-04-08 16:58:59 -0400
commitcf1b5ea1c5cd26a003b01d4798266a4bdf0ffe64 (patch)
treee911ed99ced3e6729624a4e26237a44eb69970a8
parentdeeb8525f9bcea60f5e86521880c1161de7a5829 (diff)
downloadlinux-cf1b5ea1c5cd26a003b01d4798266a4bdf0ffe64.tar.bz2
[regression] ocfs2: do *not* increment ->ki_pos twice
generic_file_direct_write() already does that. Broken by "ocfs2: do not fallback to buffer I/O write if appending" Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--fs/ocfs2/file.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c
index 46e0d4e857c7..099972490f39 100644
--- a/fs/ocfs2/file.c
+++ b/fs/ocfs2/file.c
@@ -2394,7 +2394,6 @@ relock:
/*
* for completing the rest of the request.
*/
- *ppos += written;
count -= written;
written_buffered = generic_perform_write(file, from, *ppos);
/*