diff options
| author | Kent Overstreet <[email protected]> | 2013-03-22 18:18:24 +0000 |
|---|---|---|
| committer | J. Bruce Fields <[email protected]> | 2013-03-22 20:55:15 +0000 |
| commit | e49dbbf3e770aa590a8a464ac4978a09027060b9 (patch) | |
| tree | 9fc8101f40b8205079f5313c8f8207cefb099959 /net/unix/af_unix.c | |
| parent | nfsd: fix startup order in nfsd_reply_cache_init (diff) | |
| download | kernel-e49dbbf3e770aa590a8a464ac4978a09027060b9.tar.gz kernel-e49dbbf3e770aa590a8a464ac4978a09027060b9.zip | |
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 <[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]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
