Fix a bug where multiple mounts on the same mount point cause the
authorMatthew Dillon <dillon@dragonflybsd.org>
Wed, 9 May 2007 05:12:45 +0000 (05:12 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Wed, 9 May 2007 05:12:45 +0000 (05:12 +0000)
commite5cde29cb38122c72e306451901317aff185de8e
tree4505850463fe1564b4a09576c3ef687fdec1e992
parentc15b1d97a9ead9a88e7643ff44472c2da8ac6714
Fix a bug where multiple mounts on the same mount point cause the
machine to lockup when the mount is access.  The wrong namecache handle
was being used to traverse "..", causing an endless loop when more then one
iteration was required to chain up the mount points.

Reported-by: Thomas Nikolajsen <thomas.nikolajsen@mail.dk>
Dragonfly-bug: <http://bugs.dragonflybsd.org/issue583>
sys/kern/vfs_nlookup.c