freebsd-dev/sys/nfsclient
Alexander Kabaev cb9ddc80ae Take care not to call vput if thread used in corresponding vget
wasn't curthread, i.e. when we receive a thread pointer to use
as a function argument. Use VOP_UNLOCK/vrele in these cases.

The only case there td != curthread known at the moment is
boot() calling sync with thread0 pointer.

This fixes the panic on shutdown people have reported.
2003-11-02 04:52:53 +00:00
..
bootp_subr.c Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
krpc_subr.c - Consistently set sopt_dir. 2003-10-04 17:41:59 +00:00
krpc.h
nfs_bio.c Initialize bp->b_offset before calling VOP_STRATEGY(). 2003-10-18 11:14:29 +00:00
nfs_diskless.c Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
nfs_lock.c Add fdidx argument to vn_open() and vn_open_cred() and pass -1 throughout. 2003-07-27 17:04:56 +00:00
nfs_lock.h Remove a case of exposing 'struct ucred' to userspace. Use a struct xucred 2002-08-15 21:52:22 +00:00
nfs_nfsiod.c Change idle sleep indentifier to "-" for nfsiod 2003-07-02 08:09:20 +00:00
nfs_node.c Since the addition of the VI_DOINGINACT flag some time ago, 2003-10-05 12:41:35 +00:00
nfs_socket.c - Consistently set sopt_dir. 2003-10-04 17:41:59 +00:00
nfs_subs.c - Check the XLOCK before we inspect the vnode. 2003-10-05 06:46:45 +00:00
nfs_vfsops.c Take care not to call vput if thread used in corresponding vget 2003-11-02 04:52:53 +00:00
nfs_vnops.c DuH! 2003-10-18 14:10:28 +00:00
nfs.h Remove extern declarations of stuff which is static in nfs_node.c 2002-10-20 21:40:55 +00:00
nfsargs.h
nfsdiskless.h Remove the magic way of configuring NFS backed swap. 2003-08-15 12:04:02 +00:00
nfsm_subs.h
nfsmount.h Now that we have a cached mount credential in struct mount, use it istead 2002-09-08 15:11:18 +00:00
nfsnode.h Name the vnode method vectors consistently with the rest of the filesystems. 2003-09-12 16:44:40 +00:00
nfsstats.h
nlminfo.h