From: Kent Overstreet Date: Fri, 22 Mar 2013 18:18:24 +0000 (-0700) Subject: nfsd: fix bad offset use X-Git-Tag: v3.9-rc5~33^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e49dbbf3e770aa590a8a464ac4978a09027060b9;p=pandora-kernel.git nfsd: fix bad offset use 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 face15025ffdf664de95e86ae831544154d26c9c "nfsd: use vfs_fsync_range(), not O_SYNC, for stable writes". Signed-off-by: Kent Overstreet Cc: Al Viro Cc: "Eric W. Biederman" Cc: stable@vger.kernel.org Reviewed-by: Zach Brown Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed