diff options
author | Trond Myklebust | 2010-04-09 19:07:07 -0400 |
---|---|---|
committer | Trond Myklebust | 2010-04-09 19:08:17 -0400 |
commit | b80c3cb628f0ebc241b02e38dd028969fb8026a2 (patch) | |
tree | 12b0b9a7d8c4dbac5ab17b5cef9f3d5e32df16b1 /fs/lockd | |
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>
Diffstat (limited to 'fs/lockd')
0 files changed, 0 insertions, 0 deletions