summaryrefslogtreecommitdiff
path: root/sys/nfs
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-06-11 05:14:55 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-06-11 05:14:55 +0000
commitbe6f9dc2900c4b7bf84fd09e5ef3db75ad1ea36d (patch)
tree17d953e01304d187fd1ab0d58267a2519cd0c123 /sys/nfs
parentce418c43bc5319139ce8b279257d7d5320db633f (diff)
splassert where comments tell us to.
Diffstat (limited to 'sys/nfs')
-rw-r--r--sys/nfs/nfs_serv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/nfs/nfs_serv.c b/sys/nfs/nfs_serv.c
index 2d732c30799..e98f52b1036 100644
--- a/sys/nfs/nfs_serv.c
+++ b/sys/nfs/nfs_serv.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_serv.c,v 1.32 2002/05/10 22:07:08 csapuntz Exp $ */
+/* $OpenBSD: nfs_serv.c,v 1.33 2002/06/11 05:14:54 art Exp $ */
/* $NetBSD: nfs_serv.c,v 1.34 1997/05/12 23:37:12 fvdl Exp $ */
/*
@@ -1175,13 +1175,13 @@ loop1:
* NB: Must be called at splsoftclock().
*/
void
-nfsrvw_coalesce(owp, nfsd)
- struct nfsrv_descript *owp;
- struct nfsrv_descript *nfsd;
+nfsrvw_coalesce(struct nfsrv_descript *owp, struct nfsrv_descript *nfsd)
{
int overlap;
struct mbuf *mp;
+ splassert(IPL_SOFTCLOCK);
+
LIST_REMOVE(nfsd, nd_hash);
LIST_REMOVE(nfsd, nd_tq);
if (owp->nd_eoff < nfsd->nd_eoff) {