CVSROOT:        /cvs
Module name:    src
Changes by:     t...@cvs.openbsd.org    2009/08/14 11:52:18

Modified files:
        sys/nfs        : nfs_node.c 

Log message:
Use the nfs_hashlock to protect the nfs_nodetree hanging of the mount.

What can happen is that a recycling of a vnode could pull one from out
under us (since NFS has issues with ref counts...).

Dance around getnewvnode() since we can end up recycling vnodes that
where formerly owned by NFS, causing recursive locking.

We where lucky with the old hashtables has the race was rare but now
with more aggresive recycling we loose, just as theo found out on vax.

help from oga, beck and blambert (beck mostly screamed though).

ok oga@, beck@, blambert@

Reply via email to