diff options
Diffstat (limited to 'sys/vm/vm_object.c')
-rw-r--r-- | sys/vm/vm_object.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c index abc2ce8..63f3552 100644 --- a/sys/vm/vm_object.c +++ b/sys/vm/vm_object.c @@ -61,7 +61,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: vm_object.c,v 1.91 1997/04/26 11:46:25 peter Exp $ + * $Id: vm_object.c,v 1.92 1997/05/29 02:57:22 peter Exp $ */ /* @@ -372,6 +372,9 @@ vm_object_terminate(object) register vm_page_t p; int s; + if (object->flags & OBJ_VFS_REF) + panic("vm_object_deallocate: freeing VFS_REF'ed object"); + /* * wait for the pageout daemon to be done with the object */ |