diff options
author | rwatson <rwatson@FreeBSD.org> | 2004-07-24 02:07:09 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2004-07-24 02:07:09 +0000 |
commit | 726eec4c97db583e1cc41e665877e230c3669604 (patch) | |
tree | c3ad33fab9d0947b6e8d67f87200528d6b6f5541 | |
parent | f72aae4cb25e34af16e050d5795a4678d23c8051 (diff) | |
download | FreeBSD-src-726eec4c97db583e1cc41e665877e230c3669604.zip FreeBSD-src-726eec4c97db583e1cc41e665877e230c3669604.tar.gz |
Remove spl() use from nfsrv_timer.
-rw-r--r-- | sys/nfsserver/nfs_srvsock.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/nfsserver/nfs_srvsock.c b/sys/nfsserver/nfs_srvsock.c index fe91568..83911ee 100644 --- a/sys/nfsserver/nfs_srvsock.c +++ b/sys/nfsserver/nfs_srvsock.c @@ -805,11 +805,9 @@ nfsrv_send(struct socket *so, struct sockaddr *nam, struct mbuf *top) void nfsrv_timer(void *arg) { - int s; struct nfssvc_sock *slp; u_quad_t cur_usec; - s = splnet(); NFSD_LOCK(); /* * Scan the write gathering queues for writes that need to be @@ -822,6 +820,5 @@ nfsrv_timer(void *arg) nfsrv_wakenfsd(slp); } NFSD_UNLOCK(); - splx(s); callout_reset(&nfsrv_callout, nfsrv_ticks, nfsrv_timer, NULL); } |