[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>
This commit is contained in:
parent
deeb8525f9
commit
cf1b5ea1c5
|
@ -2394,7 +2394,6 @@ relock:
|
|||
/*
|
||||
* for completing the rest of the request.
|
||||
*/
|
||||
*ppos += written;
|
||||
count -= written;
|
||||
written_buffered = generic_perform_write(file, from, *ppos);
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue