From: Trond Myklebust Date: Fri, 9 Apr 2010 23:07:07 +0000 (-0400) Subject: NFS: Ensure that writeback_single_inode() calls write_inode() when syncing X-Git-Tag: v2.6.34-rc5~23^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b80c3cb628f0ebc241b02e38dd028969fb8026a2;p=pandora-kernel.git 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 --- Reading git-diff-tree failed