NFS: Clean up NFS writeback flush code
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 20 Jul 2007 17:13:28 +0000 (13:13 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 9 Oct 2007 21:15:18 +0000 (17:15 -0400)
commited90ef51a33f572fa7d00c8b05f7457be727e74f
tree4c41336dd045cd9a857454a5d8a595288d64d6e1
parent90e9a3f9b0a14198a8ae5a0a5c13ad30f0b8b40d
NFS: Clean up NFS writeback flush code

The only user of nfs_sync_mapping_range() is nfs_getattr(), which uses it
to flush out the entire inode without sending a commit. We therefore
replace nfs_sync_mapping_range with a more appropriate helper.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/inode.c
fs/nfs/write.c
include/linux/nfs_fs.h