Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
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
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