diff options
Diffstat (limited to 'sys/netsmb/smb_rq.c')
-rw-r--r-- | sys/netsmb/smb_rq.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/netsmb/smb_rq.c b/sys/netsmb/smb_rq.c index 5e0c7a8..456672d 100644 --- a/sys/netsmb/smb_rq.c +++ b/sys/netsmb/smb_rq.c @@ -184,7 +184,7 @@ smb_rq_enqueue(struct smb_rq *rqp) if (ssp->ss_flags & SMBS_RECONNECTING) { msleep(&ssp->ss_vcgenid, SMBS_ST_LOCKPTR(ssp), PWAIT | PDROP, "90trcn", hz); - if (smb_proc_intr(rqp->sr_cred->scr_td->td_proc)) + if (smb_td_intr(rqp->sr_cred->scr_td)) return EINTR; continue; } @@ -248,11 +248,9 @@ smb_rq_bend(struct smb_rq *rqp) int smb_rq_intr(struct smb_rq *rqp) { - struct proc *p = rqp->sr_cred->scr_td->td_proc; - if (rqp->sr_flags & SMBR_INTR) return EINTR; - return smb_proc_intr(p); + return smb_td_intr(rqp->sr_cred->scr_td); } int |