summaryrefslogtreecommitdiff
path: root/libpager/lock-completed.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-03-06 23:53:20 +0000
committerMiles Bader <miles@gnu.org>1996-03-06 23:53:20 +0000
commitf6e498bd9d3059b336a8660d879b836187844e55 (patch)
tree95a49bc3aa595d38b3cadcd07a35706321a4cbc1 /libpager/lock-completed.c
parentbfa01469378d08f591901172025e93be0efc4556 (diff)
(_pager_seqnos_memory_object_lock_completed): Don't barf anymore.
Diffstat (limited to 'libpager/lock-completed.c')
-rw-r--r--libpager/lock-completed.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/libpager/lock-completed.c b/libpager/lock-completed.c
index 45dbfcbf..57063962 100644
--- a/libpager/lock-completed.c
+++ b/libpager/lock-completed.c
@@ -17,7 +17,6 @@
#include "priv.h"
#include "memory_object_S.h"
-#include "barf.h"
/* The kernel calls this (as described in <mach/memory_object.defs>)
when a memory_object_lock_request call has completed. Read this
@@ -35,12 +34,7 @@ _pager_seqnos_memory_object_lock_completed (mach_port_t object,
p = ports_lookup_port (0, object, _pager_class);
if (!p)
- {
- barf ("Bad lock completed: "
- "object = %d, control = %d; offset %#x; length %#x\n",
- object, control, offset, length);
- return EOPNOTSUPP;
- }
+ return EOPNOTSUPP;
mutex_lock (&p->interlock);
_pager_wait_for_seqno (p, seqno);
@@ -63,10 +57,6 @@ _pager_seqnos_memory_object_lock_completed (mach_port_t object,
condition_broadcast (&p->wakeup);
break;
}
-
- if (!lr)
- barf ("orphaned lock_request: p %#x <port = %d>; offset %#x; length %#x\n",
- (int) p, p->port.port_right, offset, length);
out:
_pager_release_seqno (p, seqno);