diff options
Diffstat (limited to 'netfs.c')
-rw-r--r-- | netfs.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -151,10 +151,11 @@ error_t netfs_attempt_lookup (struct iouser *user, struct node *dir, error_t err; err = procfs_lookup (dir, name, np); + mutex_unlock (&dir->lock); + if (! err) mutex_lock (&(*np)->lock); - mutex_unlock (&dir->lock); return err; } |