diff options
-rw-r--r-- | libdiskfs/ifsock.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libdiskfs/ifsock.c b/libdiskfs/ifsock.c index 1da81b85..9199fdf6 100644 --- a/libdiskfs/ifsock.c +++ b/libdiskfs/ifsock.c @@ -102,10 +102,7 @@ diskfs_S_ifsock_getsockaddr (struct protid *cred, goto retry; } if (err) - { - pthread_mutex_unlock (&np->lock); - return EIEIO; - } + return EIEIO; pthread_mutex_lock (&np->lock); if (np->sockaddr != MACH_PORT_NULL) |