mirror of
https://github.com/torvalds/linux.git
synced 2026-12-02 19:42:26 +00:00
vfs_writev() updates the offset argument - but the code then passes the
offset to vfs_fsync_range(). Since offset now points to the offset after
what was just written, this is probably not what was intended
Introduced by face15025f "nfsd: use
vfs_fsync_range(), not O_SYNC, for stable writes".
Signed-off-by: Kent Overstreet <[email protected]>
Cc: Al Viro <[email protected]>
Cc: "Eric W. Biederman" <[email protected]>
Cc: [email protected]
Reviewed-by: Zach Brown <[email protected]>
Signed-off-by: J. Bruce Fields <[email protected]>