CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2018/04/09 03:39:53
Modified files:
sys/nfs : nfs_node.c nfs_vfsops.c nfsmount.h
Log message:
Change the representation of an NFS mount point by caching the root
nodes.
nfs_root() now returns a "locked" vnode, so vput(9) must be called to
release it. Note that this has currently no effect as nfs_lock/unlock
are still stubs.
This will prevent some lock odering problems with upcoming NFSnode
locking.
Tested by landry@, sthen@, visa@, naddy@ and myself.
>From NetBSD with some tweaks, ok visa@