From cfbd9dd02931268187291275fabff62dcca172ec Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Sun, 18 Jan 2004 12:32:04 +0000 Subject: [PATCH] vm_uiomove() is a VFS_IOOPT related procedure, conditionalize it appropriately. --- sys/vm/vm_map.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c index 1a356aaecf..ddb7532061 100644 --- a/sys/vm/vm_map.c +++ b/sys/vm/vm_map.c @@ -62,7 +62,7 @@ * rights to redistribute these changes. * * $FreeBSD: src/sys/vm/vm_map.c,v 1.187.2.19 2003/05/27 00:47:02 alc Exp $ - * $DragonFly: src/sys/vm/vm_map.c,v 1.18 2004/01/14 23:26:14 dillon Exp $ + * $DragonFly: src/sys/vm/vm_map.c,v 1.19 2004/01/18 12:32:04 dillon Exp $ */ /* @@ -3231,6 +3231,8 @@ vm_map_lookup_done(vm_map_t map, vm_map_entry_t entry, int count) vm_map_entry_release(count); } +#ifdef ENABLE_VFS_IOOPT + /* * Implement uiomove with VM operations. This handles (and collateral changes) * support every combination of source object modification, and COW type @@ -3468,6 +3470,8 @@ vm_uiomove(mapa, srcobject, cp, cnta, uaddra, npages) return 0; } +#endif + /* * Performs the copy_on_write operations necessary to allow the virtual copies * into user space to work. This has to be called for write(2) system calls -- 2.41.0