summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdiskfs/io-reauthenticate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libdiskfs/io-reauthenticate.c b/libdiskfs/io-reauthenticate.c
index 2179f6f8..c7f50314 100644
--- a/libdiskfs/io-reauthenticate.c
+++ b/libdiskfs/io-reauthenticate.c
@@ -54,6 +54,7 @@ diskfs_S_io_reauthenticate (struct protid *cred,
assert (!err); /* XXX */
diskfs_finish_protid (newcred, gen_uids, genuidlen, gen_gids, gengidlen);
+ mutex_unlock (&cred->po->np->lock);
if (gubuf != gen_uids)
vm_deallocate (mach_task_self (), (u_int) gen_uids,