Unlock the namecache record when traversing a mount point, then relock and
authorMatthew Dillon <dillon@dragonflybsd.org>
Wed, 8 Dec 2004 18:53:27 +0000 (18:53 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Wed, 8 Dec 2004 18:53:27 +0000 (18:53 +0000)
commit6215aa92b46def227333e90a97806a8859dd792a
tree98895fa80b73c9803606ebd4cd51beb248613fb5
parent2a1f8fc213feba51656132874579cba480b27001
Unlock the namecache record when traversing a mount point, then relock and
recheck for consistency.  This fixes a deadlock on e.g. dead NFS mounts.

Reported-by: David Rhodus <sdrhodus@gmail.com>
sys/kern/vfs_cache.c