s/soo_ioctl/fo_ioctl/. The former should not be called directly.
This commit is contained in:
parent
76c3908ce1
commit
c21e021186
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=371768
2 changed files with 21 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= iet
|
||||
PORTVERSION= 1.4.20.2
|
||||
PORTREVISION= 8
|
||||
PORTREVISION= 9
|
||||
CATEGORIES= net kld
|
||||
MASTER_SITES= SF/iscsitarget/iscsitarget/${PORTVERSION}/
|
||||
DISTNAME= iscsitarget-${PORTVERSION}
|
||||
|
|
20
net/iet/files/patch-soo_ioctl
Normal file
20
net/iet/files/patch-soo_ioctl
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- kernel/nthread.c.orig 2014-10-30 11:29:21.000000000 -0700
|
||||
+++ kernel/nthread.c 2014-10-30 11:30:14.000000000 -0700
|
||||
@@ -91,7 +91,7 @@
|
||||
return 0;
|
||||
#endif
|
||||
|
||||
- error = soo_ioctl(&filetmp, FIONREAD, &avail, NULL, curthread);
|
||||
+ error = fo_ioctl(&filetmp, FIONREAD, &avail, NULL, curthread);
|
||||
if (error)
|
||||
return 0;
|
||||
|
||||
@@ -350,7 +350,7 @@
|
||||
filetmp.f_data = conn->sock;
|
||||
filetmp.f_cred = NULL;
|
||||
|
||||
- error = soo_ioctl(&filetmp, FIONSPACE, &avail, NULL, curthread);
|
||||
+ error = fo_ioctl(&filetmp, FIONSPACE, &avail, NULL, curthread);
|
||||
if (error)
|
||||
return 0;
|
||||
|
Loading…
Reference in a new issue