diff options
author | dg <dg@FreeBSD.org> | 1995-03-20 10:14:55 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1995-03-20 10:14:55 +0000 |
commit | ba7cc6e6a91672b2647c731957bf5f3d0aa5f11d (patch) | |
tree | 0f792d7119163dbfc5921abafb4de2a91eb960fb /sys/vm | |
parent | 33f239399ca9241e748cee8aaa9db061850b3ac2 (diff) | |
download | FreeBSD-src-ba7cc6e6a91672b2647c731957bf5f3d0aa5f11d.zip FreeBSD-src-ba7cc6e6a91672b2647c731957bf5f3d0aa5f11d.tar.gz |
Fixed "objde1" hang. It was caused by a "&" where an "&&" belonged in the
expression that decides if a wakeup should occur.
Diffstat (limited to 'sys/vm')
-rw-r--r-- | sys/vm/vm_object.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_object.h b/sys/vm/vm_object.h index 11ff6a6..383a7b8 100644 --- a/sys/vm/vm_object.h +++ b/sys/vm/vm_object.h @@ -61,7 +61,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: vm_object.h,v 1.12 1995/03/12 12:42:00 bde Exp $ + * $Id: vm_object.h,v 1.13 1995/03/16 18:17:24 bde Exp $ */ /* @@ -157,7 +157,7 @@ static __inline void vm_object_pip_wakeup(vm_object_t object) { object->paging_in_progress--; - if ((object->flags & OBJ_PIPWNT) & object->paging_in_progress == 0) { + if ((object->flags & OBJ_PIPWNT) && object->paging_in_progress == 0) { object->flags &= ~OBJ_PIPWNT; wakeup(object); } |