mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-19 02:29:40 +00:00
Fixed "objde1" hang. It was caused by a "&" where an "&&" belonged in the
expression that decides if a wakeup should occur.
This commit is contained in:
parent
edbae4a194
commit
9ba0a56334
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=7185
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user