Browse Source

[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>
Al Viro 10 years ago
parent
commit
cf1b5ea1c5
1 changed files with 0 additions and 1 deletions
  1. 0 1
      fs/ocfs2/file.c

+ 0 - 1
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);
 		/*