NFS: Fix up the fsync code
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 31 Jul 2010 18:29:06 +0000 (14:29 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 4 Aug 2010 02:06:07 +0000 (22:06 -0400)
commitaf7fa16506bf9b6323e862a61e14c20555152bb3
treea9d5e5713d1d4662c0fb2097f506e60036404a37
parent77041ed9b49a9e10f374bfa6e482d30ee7a3d46e
NFS: Fix up the fsync code

Christoph points out that the VFS will always flush out data before calling
nfs_fsync(), so we can dispense with a full call to nfs_wb_all(), and
replace that with a simpler call to nfs_commit_inode().

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/file.c