From: Christoph Hellwig Date: Fri, 25 Dec 2009 16:44:45 +0000 (+0100) Subject: nfsd: make sure data is on disk before calling ->fsync X-Git-Tag: v2.6.33-rc4~80^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7211a4e859ad070b28545c06e0a6cb60b3b8aa31;p=pandora-kernel.git nfsd: make sure data is on disk before calling ->fsync nfsd is not using vfs_fsync, so I missed it when changing the calling convention during the 2.6.32 window. This patch fixes it to not only start the data writeout, but also wait for it to complete before calling into ->fsync. Signed-off-by: Christoph Hellwig Cc: stable@kernel.org Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed