aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2002-11-09 21:26:49 +0000
committerAlan Cox <alc@FreeBSD.org>2002-11-09 21:26:49 +0000
commitf6116791a2c17609bcb43cdad89809d4d307d93d (patch)
treecabe31017542dd00072a2d5aaddbbcccafb1014a
parent2be7d439280748d4095176b3a32b7463f8b28dd0 (diff)
Notes
-rw-r--r--sys/vm/vm_map.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c
index 7b210cf963de..8d15263af8b2 100644
--- a/sys/vm/vm_map.c
+++ b/sys/vm/vm_map.c
@@ -1782,8 +1782,8 @@ done:
*/
entry->wired_count = 0;
} else {
- if (!user_wire || (entry->wired_count == 1 &&
- (entry->eflags & MAP_ENTRY_USER_WIRED) == 0))
+ if (!user_wire ||
+ (entry->eflags & MAP_ENTRY_USER_WIRED) == 0)
entry->wired_count--;
if (entry->wired_count == 0) {
/*