diff options
-rw-r--r-- | libdiskfs/file-getcontrol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/file-getcontrol.c b/libdiskfs/file-getcontrol.c index 4ea2ae8e..032c498f 100644 --- a/libdiskfs/file-getcontrol.c +++ b/libdiskfs/file-getcontrol.c @@ -35,7 +35,7 @@ diskfs_S_file_getcontrol (struct protid *cred, { spin_lock (&_diskfs_control_lock); _diskfs_ncontrol_ports++; - spin_lock (&_diskfs_control_lock); + spin_unlock (&_diskfs_control_lock); *control = ports_get_right (ports_allocate_port (sizeof (struct port_info), PT_CTL)); *controltype = MACH_MSG_TYPE_MAKE_SEND; |