VOP_UNLOCK(tfile->vnode, 0, curthread);
AFS_GLOCK();
#elif defined(AFS_NBSD_ENV)
+ tuiop->uio_rw = UIO_READ;
AFS_GUNLOCK();
VOP_LOCK(tfile->vnode, LK_EXCLUSIVE);
code = VOP_READ(tfile->vnode, tuiop, 0, afs_osi_credp);
+# if defined(AFS_NBSD60_ENV)
+ VOP_UNLOCK(tfile->vnode);
+# else
VOP_UNLOCK(tfile->vnode, 0);
+# endif
AFS_GLOCK();
#elif defined(AFS_XBSD_ENV)
AFS_GUNLOCK();