From dc16dfd3b3b8199d95d90e6af08d3bded7798064 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Fri, 5 Sep 1997 23:13:17 +0000 Subject: (netfs_S_dir_lookup): Re-aquire the lock on DNP when looping to follow a symlink. --- libnetfs/dir-lookup.c | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3