diff options
author | 2010-04-09 19:07:07 -0400 | |
---|---|---|
committer | 2010-04-09 19:08:17 -0400 | |
commit | b80c3cb628f0ebc241b02e38dd028969fb8026a2 (patch) | |
tree | 12b0b9a7d8c4dbac5ab17b5cef9f3d5e32df16b1 /lib/debugobjects.c | |
parent | NFS: Fix the mode calculation in nfs_find_open_context (diff) | |
download | wireguard-linux-b80c3cb628f0ebc241b02e38dd028969fb8026a2.tar.xz wireguard-linux-b80c3cb628f0ebc241b02e38dd028969fb8026a2.zip |
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 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions