summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorKent Overstreet <koverstreet@google.com>2013-03-22 11:18:24 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-28 12:18:01 -0700
commit8d4fc92b7e49efae41a647dad100c618c60576e5 (patch)
tree49b0b6cb10c88ff7c92b3d21e48fb4fce0d47ecd /arch
parent9b876a370355dc6e88b60151b9d7014ce4519117 (diff)
nfsd: fix bad offset use
commit e49dbbf3e770aa590a8a464ac4978a09027060b9 upstream. 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> Reviewed-by: Zach Brown <zab@redhat.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions