diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-04-08 21:41:17 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-04-08 22:58:59 +0200 |
commit | cf1b5ea1c5cd26a003b01d4798266a4bdf0ffe64 (patch) | |
tree | e911ed99ced3e6729624a4e26237a44eb69970a8 /fs/ocfs2 | |
parent | ioctx_alloc(): fix vma (and file) leak on failure (diff) | |
download | linux-cf1b5ea1c5cd26a003b01d4798266a4bdf0ffe64.tar.xz linux-cf1b5ea1c5cd26a003b01d4798266a4bdf0ffe64.zip |
[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/ocfs2')
-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); /* |