NFS: Don't fsync twice for O_SYNC/IS_SYNC files
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 17 Aug 2015 21:55:18 +0000 (16:55 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 17 Aug 2015 21:55:18 +0000 (16:55 -0500)
generic_file_write_iter() will already do an fsync on our behalf
if the file descriptor is O_SYNC or the file is marked as IS_SYNC.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/file.c

diff --cc fs/nfs/file.c
Simple merge