aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorKent Overstreet <koverstreet@google.com>2013-03-22 11:18:24 -0700
committerJ. Bruce Fields <bfields@redhat.com>2013-03-22 16:55:15 -0400
commite49dbbf3e770aa590a8a464ac4978a09027060b9 (patch)
tree9fc8101f40b8205079f5313c8f8207cefb099959 /block
parentac534ff2d5508bdff1358a55d88053da729ff46b (diff)
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 <koverstreet@google.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: "Eric W. Biederman" <ebiederm@xmission.com> Cc: stable@vger.kernel.org Reviewed-by: Zach Brown <zab@redhat.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions