summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2007-06-18 09:28:24 +0000
committerpjd <pjd@FreeBSD.org>2007-06-18 09:28:24 +0000
commita362498f2ee574f0c8ad52434857803559f450cd (patch)
treed9551a31718617f031ef280c928b3689e77e1ff9
parent83ede949be94c6c5e1d515451aefc0e64c1c0b3d (diff)
downloadFreeBSD-src-a362498f2ee574f0c8ad52434857803559f450cd.zip
FreeBSD-src-a362498f2ee574f0c8ad52434857803559f450cd.tar.gz
We only flush entries related to the given file system. Currently there are
no 'invalid' cache entires - file system is responsible for keeping it that way. The comment should have been updated in rev.1.25.
-rw-r--r--sys/kern/vfs_cache.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/kern/vfs_cache.c b/sys/kern/vfs_cache.c
index a174c45..43428b3 100644
--- a/sys/kern/vfs_cache.c
+++ b/sys/kern/vfs_cache.c
@@ -573,9 +573,6 @@ cache_purge(vp)
/*
* Flush all entries referencing a particular filesystem.
- *
- * Since we need to check it anyway, we will flush all the invalid
- * entries at the same time.
*/
void
cache_purgevfs(mp)
OpenPOWER on IntegriCloud