commit | b80c3cb628f0ebc241b02e38dd028969fb8026a2 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Fri Apr 09 19:07:07 2010 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Fri Apr 09 19:08:17 2010 -0400 |
tree | 12b0b9a7d8c4dbac5ab17b5cef9f3d5e32df16b1 | |
parent | 1544fa0f7a46241582abc48f07b74f3d846379e4 [diff] |
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: Trond Myklebust <Trond.Myklebust@netapp.com>