diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-04-08 19:41:17 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-04-08 20:58:59 (GMT) |
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 46e0d4e..0999724 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); /* |