summaryrefslogtreecommitdiffstats
path: root/sys/nfs/nfs.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-02-25 00:03:51 +0000
committerpeter <peter@FreeBSD.org>1999-02-25 00:03:51 +0000
commit2cb5b6d7d54b14e1086055e6a5d05f9f96e0fc40 (patch)
tree825e5c3db3b7c2856f892529f74b6ee4c88e4044 /sys/nfs/nfs.h
parent3ad14cacdcabd4212b9384d2ea5ef5eb8a144543 (diff)
downloadFreeBSD-src-2cb5b6d7d54b14e1086055e6a5d05f9f96e0fc40.zip
FreeBSD-src-2cb5b6d7d54b14e1086055e6a5d05f9f96e0fc40.tar.gz
Untangle the nfs send and receive queue locking a little. One lock
routine was [ab]used for two different things, and you couldn't tell from the wait channel which one had wedged. Catch a few things missing from NFS_NOSERVER.
Diffstat (limited to 'sys/nfs/nfs.h')
-rw-r--r--sys/nfs/nfs.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/nfs/nfs.h b/sys/nfs/nfs.h
index 0ed90c0..bc15a7c 100644
--- a/sys/nfs/nfs.h
+++ b/sys/nfs/nfs.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)nfs.h 8.4 (Berkeley) 5/1/95
- * $Id: nfs.h,v 1.43 1998/08/23 03:07:16 wollman Exp $
+ * $Id: nfs.h,v 1.44 1998/09/07 05:42:15 bde Exp $
*/
#ifndef _NFS_NFS_H_
@@ -594,8 +594,10 @@ int nfs_send __P((struct socket *, struct sockaddr *, struct mbuf *,
int nfs_rephead __P((int, struct nfsrv_descript *, struct nfssvc_sock *,
int, int, u_quad_t *, struct mbuf **, struct mbuf **,
caddr_t *));
-int nfs_sndlock __P((int *, int *, struct nfsreq *));
-void nfs_sndunlock __P((int *, int *));
+int nfs_sndlock __P((struct nfsreq *));
+void nfs_sndunlock __P((struct nfsreq *));
+int nfs_slplock __P((struct nfssvc_sock *, int));
+void nfs_slpunlock __P((struct nfssvc_sock *));
int nfs_disct __P((struct mbuf **, caddr_t *, int, int, caddr_t *));
int nfs_vinvalbuf __P((struct vnode *, int, struct ucred *, struct proc *,
int));
OpenPOWER on IntegriCloud