- smb_td_intr takes a thread as an argument not a proc.

This commit is contained in:
Jeff Roberson 2003-04-01 09:24:12 +00:00
parent 6f39c1a1fe
commit 120d1b9e32
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=112934

View File

@ -688,7 +688,7 @@ smbfs_vinvalbuf(vp, flags, cred, td, intrflg)
while (np->n_flag & NFLUSHINPROG) {
np->n_flag |= NFLUSHWANT;
error = tsleep(&np->n_flag, PRIBIO + 2, "smfsvinv", slptimeo);
error = smb_td_intr(td->td_proc);
error = smb_td_intr(td);
if (error == EINTR && intrflg)
return EINTR;
}