From 0b6f0e4522eeceef1d5e5dc2e920666192f7ec2a Mon Sep 17 00:00:00 2001 From: bp Date: Sun, 2 Dec 2001 08:47:29 +0000 Subject: Pull netsmb requester from the pre-KSE world. This update mostly based on the patches submitted by Max Khon --- sys/netsmb/smb_rq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/netsmb/smb_rq.c') diff --git a/sys/netsmb/smb_rq.c b/sys/netsmb/smb_rq.c index 1a56943..36e2db9 100644 --- a/sys/netsmb/smb_rq.c +++ b/sys/netsmb/smb_rq.c @@ -180,7 +180,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_p)) + if (smb_proc_intr(rqp->sr_cred->scr_td->td_proc)) return EINTR; continue; } @@ -244,7 +244,7 @@ smb_rq_bend(struct smb_rq *rqp) int smb_rq_intr(struct smb_rq *rqp) { - struct proc *p = rqp->sr_cred->scr_p; + struct proc *p = rqp->sr_cred->scr_td->td_proc; if (rqp->sr_flags & SMBR_INTR) return EINTR; -- cgit v1.1