diff options
Diffstat (limited to 'libfshelp')
-rw-r--r-- | libfshelp/fetch-root.c | 3 |
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; } |