- smb_td_intr takes a thread as an argument not a proc.
This commit is contained in:
parent
6f39c1a1fe
commit
120d1b9e32
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=112934
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user