aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/vnode.h
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2020-09-23 10:46:07 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2020-09-23 10:46:07 +0000
commita3d9bf49b57923118c339642594246ef73872ee8 (patch)
tree6fbd7df71647010d73e6d8c26cbd7d128c35bd4d /sys/sys/vnode.h
parenta952fefff26d6fd7581f5764b62aa5bd975586da (diff)
downloadsrc-a3d9bf49b57923118c339642594246ef73872ee8.tar.gz
src-a3d9bf49b57923118c339642594246ef73872ee8.zip
cache: drop the force flag from purgevfs
The optional scan is wasteful, thus it is removed altogether from unmount. Callers which always want it anyway remain unaffected.
Notes
Notes: svn path=/head/; revision=366071
Diffstat (limited to 'sys/sys/vnode.h')
-rw-r--r--sys/sys/vnode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h
index 942a160dff09..8b2f94d361de 100644
--- a/sys/sys/vnode.h
+++ b/sys/sys/vnode.h
@@ -643,7 +643,7 @@ void cache_purge_vgone(struct vnode *vp);
void cache_purge_negative(struct vnode *vp);
void cache_rename(struct vnode *fdvp, struct vnode *fvp, struct vnode *tdvp,
struct vnode *tvp, struct componentname *fcnp, struct componentname *tcnp);
-void cache_purgevfs(struct mount *mp, bool force);
+void cache_purgevfs(struct mount *mp);
int change_dir(struct vnode *vp, struct thread *td);
void cvtstat(struct stat *st, struct ostat *ost);
void freebsd11_cvtnstat(struct stat *sb, struct nstat *nsb);