diff options
| author | John Dyson <dyson@FreeBSD.org> | 1997-12-19 09:03:37 +0000 |
|---|---|---|
| committer | John Dyson <dyson@FreeBSD.org> | 1997-12-19 09:03:37 +0000 |
| commit | 1efb74fbcc52d8a9dea4415febd7e89da64b11cd (patch) | |
| tree | b82b78d796847f8fc91e7b6362c1361ff26b7275 /sys/kern/vfs_export.c | |
| parent | f5fb6bd02a1f9d107eabab24b5496a54651a4462 (diff) | |
Notes
Diffstat (limited to 'sys/kern/vfs_export.c')
| -rw-r--r-- | sys/kern/vfs_export.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/kern/vfs_export.c b/sys/kern/vfs_export.c index c978bbf52e5d..c2e536934d9a 100644 --- a/sys/kern/vfs_export.c +++ b/sys/kern/vfs_export.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)vfs_subr.c 8.31 (Berkeley) 5/26/95 - * $Id: vfs_subr.c,v 1.114 1997/11/22 08:35:39 bde Exp $ + * $Id: vfs_subr.c,v 1.115 1997/12/15 03:09:32 wollman Exp $ */ /* @@ -63,6 +63,8 @@ #include <vm/vm.h> #include <vm/vm_object.h> #include <vm/vm_extern.h> +#include <vm/pmap.h> +#include <vm/vm_map.h> #include <vm/vnode_pager.h> #include <sys/sysctl.h> @@ -921,6 +923,8 @@ vputrele(vp, put) if ((vp->v_usecount == 2) && vp->v_object && (vp->v_object->flags & OBJ_VFS_REF)) { + + vm_freeze_copyopts(vp->v_object, 0, vp->v_object->size); vp->v_usecount--; vp->v_object->flags &= ~OBJ_VFS_REF; if (put) { |
