diff options
Diffstat (limited to 'sys/vm/vm_fault.c')
-rw-r--r-- | sys/vm/vm_fault.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/vm/vm_fault.c b/sys/vm/vm_fault.c index b86a469..9cfe1ce 100644 --- a/sys/vm/vm_fault.c +++ b/sys/vm/vm_fault.c @@ -276,12 +276,13 @@ RetryFault:; fs.vp = vnode_pager_lock(fs.first_object); vm_object_pip_add(fs.first_object, 1); +#ifdef ENABLE_VFS_IOOPT if ((fault_type & VM_PROT_WRITE) && (fs.first_object->type == OBJT_VNODE)) { vm_freeze_copyopts(fs.first_object, fs.first_pindex, fs.first_pindex + 1); } - +#endif fs.lookup_still_valid = TRUE; if (wired) |