cache: stop referring to removing entries as invalidating them
Said use is a remnant from the old code and clashes with the NCF_INVALID flag.
This commit is contained in:
parent
8c22cf9b09
commit
a51eca7936
@ -2597,7 +2597,7 @@ cache_changesize(u_long newmaxvnodes)
|
||||
}
|
||||
|
||||
/*
|
||||
* Invalidate all entries from and to a particular vnode.
|
||||
* Remove all entries from and to a particular vnode.
|
||||
*/
|
||||
static void
|
||||
cache_purge_impl(struct vnode *vp)
|
||||
@ -2688,7 +2688,7 @@ cache_purge_vgone(struct vnode *vp)
|
||||
}
|
||||
|
||||
/*
|
||||
* Invalidate all negative entries for a particular directory vnode.
|
||||
* Remove all negative entries for a particular directory vnode.
|
||||
*/
|
||||
void
|
||||
cache_purge_negative(struct vnode *vp)
|
||||
|
Loading…
Reference in New Issue
Block a user