Remove spl() use from nfsrv_timer.
This commit is contained in:
parent
e038d35422
commit
b0c90b3b8c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=132590
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user