Skip to content
Snippets Groups Projects
Commit b80c3cb6 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFS: Ensure that writeback_single_inode() calls write_inode() when syncing


Since writeback_single_inode() checks the inode->i_state flags _before_ it
flushes out the data, we need to ensure that the I_DIRTY_DATASYNC flag is
already set. Otherwise we risk not seeing a call to write_inode(), which
again means that we break fsync() et al...

Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 1544fa0f
No related branches found
No related tags found
No related merge requests found
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