- Don't cache_purge() in *_reclaim routines. vclean() does it for us so

this is redundant.
This commit is contained in:
Jeff Roberson 2003-10-05 02:43:30 +00:00
parent 6bcda17f48
commit 9c695a2697
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=120775
7 changed files with 0 additions and 9 deletions

View file

@ -604,7 +604,6 @@ hpfs_reclaim(ap)
hpfs_hphashrem(hp);
/* Purge old data structures associated with the inode. */
cache_purge(vp);
if (hp->h_devvp) {
vrele(hp->h_devvp);
hp->h_devvp = NULL;

View file

@ -666,7 +666,6 @@ msdosfs_reclaim(ap)
/*
* Purge old data structures associated with the denode.
*/
cache_purge(vp);
if (dep->de_devvp) {
vrele(dep->de_devvp);
dep->de_devvp = 0;

View file

@ -256,8 +256,6 @@ ntfs_reclaim(ap)
return (error);
/* Purge old data structures associated with the inode. */
cache_purge(vp);
ntfs_frele(fp);
ntfs_ntput(ip);
vp->v_data = NULL;

View file

@ -268,7 +268,6 @@ nwfs_reclaim(ap)
lockmgr(&nwhashlock, LK_EXCLUSIVE, NULL, td);
LIST_REMOVE(np, n_hash);
lockmgr(&nwhashlock, LK_RELEASE, NULL, td);
cache_purge(vp);
if (nmp->n_root == np) {
nmp->n_root = NULL;
}

View file

@ -197,8 +197,6 @@ pfs_vncache_free(struct vnode *vp)
{
struct pfs_vdata *pvd;
cache_purge(vp);
mtx_lock(&pfs_vncache_mutex);
pvd = (struct pfs_vdata *)vp->v_data;
KASSERT(pvd != NULL, ("pfs_vncache_free(): no vnode data\n"));

View file

@ -309,7 +309,6 @@ smbfs_reclaim(ap)
if (np->n_hash.le_prev)
LIST_REMOVE(np, n_hash);
cache_purge(vp);
if (smp->sm_root == np) {
SMBVDEBUG("root vnode\n");
smp->sm_root = NULL;

View file

@ -1018,7 +1018,6 @@ udf_reclaim(struct vop_reclaim_args *a)
vp = a->a_vp;
unode = VTON(vp);
cache_purge(vp);
if (unode != NULL) {
udf_hashrem(unode);
if (unode->i_devvp) {