mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-30 21:54:50 +00:00
- Don't cache_purge() in *_reclaim routines. vclean() does it for us so
this is redundant.
This commit is contained in:
parent
6bcda17f48
commit
9c695a2697
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=120775
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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"));
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue