diff options
author | Miles Bader <miles@gnu.org> | 1997-09-05 23:13:17 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1997-09-05 23:13:17 +0000 |
commit | dc16dfd3b3b8199d95d90e6af08d3bded7798064 (patch) | |
tree | d92e897ce480560692e5121636a5fc18a8c00500 /libnetfs | |
parent | 1cc9716fcb5461126fd86e486d18d20cafb1a48c (diff) |
(netfs_S_dir_lookup):
Re-aquire the lock on DNP when looping to follow a symlink.
Diffstat (limited to 'libnetfs')
-rw-r--r-- | libnetfs/dir-lookup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libnetfs/dir-lookup.c b/libnetfs/dir-lookup.c index 6b3c58c1..8899e110 100644 --- a/libnetfs/dir-lookup.c +++ b/libnetfs/dir-lookup.c @@ -326,6 +326,7 @@ netfs_S_dir_lookup (struct protid *diruser, create = 0; } netfs_nput (np); + mutex_lock (&dnp->lock); np = 0; } else |