diff options
Diffstat (limited to 'nfs/ops.c')
-rw-r--r-- | nfs/ops.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -737,7 +737,10 @@ netfs_attempt_lookup (struct iouser *cred, struct node *np, p = nfs_initialize_rpc (NFSPROC_LOOKUP (protocol_version), cred, 0, &rpcbuf, np, -1); if (! p) - return errno; + { + pthread_mutex_unlock (&np->lock); + return errno; + } p = xdr_encode_fhandle (p, &np->nn->handle); p = xdr_encode_string (p, name); |