From b35e0dd4986e6b51ccad0281a825a6096f38bfa1 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Fri, 23 Jun 1995 19:44:34 +0000 Subject: (diskfs_S_fsys_set_options): Unlock NP around fsys call. --- libdiskfs/fsys-options.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libdiskfs') 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; } -- cgit v1.2.3