aboutsummaryrefslogtreecommitdiff
path: root/sys/nfsserver/nfsrvstats.h
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1999-02-25 00:03:51 +0000
committerPeter Wemm <peter@FreeBSD.org>1999-02-25 00:03:51 +0000
commit803870b48d52c5172713d80761ca9dffe20e087d (patch)
tree5d500560886a5c02b2d3245bb7e941c1b026d08c /sys/nfsserver/nfsrvstats.h
parentd1bf5d56b6ea4a736dd947e056dcc03a33e51c97 (diff)
downloadsrc-803870b48d52c5172713d80761ca9dffe20e087d.tar.gz
src-803870b48d52c5172713d80761ca9dffe20e087d.zip
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.
Notes
Notes: svn path=/head/; revision=44246
Diffstat (limited to 'sys/nfsserver/nfsrvstats.h')
-rw-r--r--sys/nfsserver/nfsrvstats.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/nfsserver/nfsrvstats.h b/sys/nfsserver/nfsrvstats.h
index 0ed90c0c0fb3..bc15a7c6dc28 100644
--- a/sys/nfsserver/nfsrvstats.h
+++ b/sys/nfsserver/nfsrvstats.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));