summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-06-23 19:44:34 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-06-23 19:44:34 +0000
commitb35e0dd4986e6b51ccad0281a825a6096f38bfa1 (patch)
tree7f4a03b12b34221b0c8710b9e2e89e40c13a13af /libdiskfs
parent9fe5760270124aba9f7600117205484e835e36ee (diff)
(diskfs_S_fsys_set_options): Unlock NP around fsys call.
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/fsys-options.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libdiskfs/fsys-options.c b/libdiskfs/fsys-options.c
index c509334e..d002742b 100644
--- a/libdiskfs/fsys-options.c
+++ b/libdiskfs/fsys-options.c
@@ -43,6 +43,7 @@ diskfs_S_fsys_set_options (fsys_t fsys,
mach_port_t control;
error = fshelp_fetch_control (&np->transbox, &control);
+ mutex_unlock (&np->lock);
if (!error && (control != MACH_PORT_NULL))
{
error = fsys_set_options (control, data, len, do_children);
@@ -50,6 +51,7 @@ diskfs_S_fsys_set_options (fsys_t fsys,
}
else
error = 0;
+ mutex_lock (&np->lock);
return error;
}