]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC: r220507
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 24 Apr 2011 19:35:54 +0000 (19:35 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 24 Apr 2011 19:35:54 +0000 (19:35 +0000)
commit50a209bacc0af424e16b70540ebffad653bdcd51
treea55fc68527a24c510ebd66c5b1ecc503629dfd64
parenta4e10eb6e1122032c9f137f464e0196e96866d17
MFC: r220507
Add a VOP_UNLOCK() for the directory, when that is not what
VOP_LOOKUP() returned. This fixes a bug in the experimental
NFS server for the case where VFS_VGET() fails returning EOPNOTSUPP
in the ReaddirPlus RPC, forcing the use of VOP_LOOKUP() instead.

git-svn-id: svn://svn.freebsd.org/base/stable/8@220997 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/nfsserver/nfs_nfsdport.c