Skip to content
Commit 7e94d6c4 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFS: Don't fsync twice for O_SYNC/IS_SYNC files



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: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
parent 9fba8e30
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment