diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-04-08 22:41:17 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-04-08 23:58:59 +0300 |
commit | cf1b5ea1c5cd26a003b01d4798266a4bdf0ffe64 (patch) | |
tree | e911ed99ced3e6729624a4e26237a44eb69970a8 /fs | |
parent | deeb8525f9bcea60f5e86521880c1161de7a5829 (diff) | |
download | linux-cf1b5ea1c5cd26a003b01d4798266a4bdf0ffe64.tar.xz |
[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>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ocfs2/file.c | 1 |
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); /* |