diff options
author | dyson <dyson@FreeBSD.org> | 1997-12-25 20:55:15 +0000 |
---|---|---|
committer | dyson <dyson@FreeBSD.org> | 1997-12-25 20:55:15 +0000 |
commit | 74cfdda9c12c1350453d4183e6181c97703a530a (patch) | |
tree | c01c70fcdc9d2e95547bea51c4db1d01de042151 | |
parent | bb1c31c96dcc29cb038c534246d6ca44bb52bf1c (diff) | |
download | FreeBSD-src-74cfdda9c12c1350453d4183e6181c97703a530a.zip FreeBSD-src-74cfdda9c12c1350453d4183e6181c97703a530a.tar.gz |
The ioopt code is still buggy, but wasn't fully disabled.
-rw-r--r-- | sys/vm/vm_map.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c index e3de60b..1fe8cc3 100644 --- a/sys/vm/vm_map.c +++ b/sys/vm/vm_map.c @@ -61,7 +61,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: vm_map.c,v 1.99 1997/12/19 09:03:11 dyson Exp $ + * $Id: vm_map.c,v 1.100 1997/12/19 15:31:13 dyson Exp $ */ /* @@ -93,6 +93,7 @@ #include <vm/vm_zone.h> static MALLOC_DEFINE(M_VMMAP, "VM map", "VM map structures"); +extern int vfs_ioopt; /* * Virtual memory maps provide for the mapping, protection, @@ -2613,7 +2614,7 @@ vm_freeze_copyopts(object, froma, toa) vm_object_t robject, robjectn; vm_pindex_t idx, from, to; - if ((object == NULL) || ((object->flags & OBJ_OPT) == 0)) + if (vfs_ioopt == 0 || (object == NULL) || ((object->flags & OBJ_OPT) == 0)) return; #if 0 |