summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_filestream.c
diff options
context:
space:
mode:
authorDave Chinner <david@fromorbit.com>2010-01-11 11:47:47 +0000
committerAlex Elder <aelder@sgi.com>2010-01-15 15:34:22 -0600
commitb657fc82a3ca6d7ad16a59e81765f0fb0e86cdbb (patch)
tree55c0fa936d1b9e192917340ba833f1d72504c0a7 /fs/xfs/xfs_filestream.c
parent0fa800fbd549736dfdc1d7761f87e33dc8cd973b (diff)
downloadop-kernel-dev-b657fc82a3ca6d7ad16a59e81765f0fb0e86cdbb.zip
op-kernel-dev-b657fc82a3ca6d7ad16a59e81765f0fb0e86cdbb.tar.gz
xfs: Kill filestreams cache flush
The filestreams cache flush is not needed in the sync code as it does not affect data writeback, and it is now not used by the growfs code, either, so kill it. Signed-off-by: Dave Chinner <david@fromorbit.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_filestream.c')
-rw-r--r--fs/xfs/xfs_filestream.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/fs/xfs/xfs_filestream.c b/fs/xfs/xfs_filestream.c
index 914d00d..390850e 100644
--- a/fs/xfs/xfs_filestream.c
+++ b/fs/xfs/xfs_filestream.c
@@ -455,20 +455,6 @@ xfs_filestream_unmount(
}
/*
- * If the mount point's m_perag tree is going to be modified, all
- * outstanding cache entries must be flushed to avoid accessing reference count
- * addresses that have been freed. The call to xfs_filestream_flush() must be
- * made inside the block that holds the m_perag_lock in write mode to do the
- * reallocation.
- */
-void
-xfs_filestream_flush(
- xfs_mount_t *mp)
-{
- xfs_mru_cache_flush(mp->m_filestream);
-}
-
-/*
* Return the AG of the filestream the file or directory belongs to, or
* NULLAGNUMBER otherwise.
*/
OpenPOWER on IntegriCloud