summaryrefslogtreecommitdiff
path: root/libfshelp/fetch-root.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-06-14 20:26:54 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-06-14 20:26:54 +0000
commit5bd18d37d60336a4c7e704e462a6357efb3c38a8 (patch)
tree1a82a98daf5c3a528c6f995c3d847f3746e26234 /libfshelp/fetch-root.c
parent688204745b43f79886f86c94b23e2e25a1ba93f9 (diff)
(fshelp_fetch_root): Never consume the right on DOTDOT.
Diffstat (limited to 'libfshelp/fetch-root.c')
-rw-r--r--libfshelp/fetch-root.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libfshelp/fetch-root.c b/libfshelp/fetch-root.c
index 1ee6e2be..d69493ba 100644
--- a/libfshelp/fetch-root.c
+++ b/libfshelp/fetch-root.c
@@ -78,7 +78,7 @@ fshelp_fetch_root (struct transbox *box, void *cookie,
&gid, &argz, &argz_len);
if (err)
return err;
-
+
mutex_lock (&box->innerlock); /* cancellation point XXX */
mutex_unlock (box->lock);
@@ -144,7 +144,6 @@ fshelp_fetch_root (struct transbox *box, void *cookie,
}
while (err == MACH_SEND_INVALID_DEST || err == MIG_SERVER_DIED);
- mach_port_deallocate (mach_task_self (), dotdot);
return err;
}