Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Oct 2014 18:31:45 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r371768 - in head/net/iet: . files
Message-ID:  <201410301831.s9UIVj2e075682@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Thu Oct 30 18:31:45 2014
New Revision: 371768
URL: https://svnweb.freebsd.org/changeset/ports/371768
QAT: https://qat.redports.org/buildarchive/r371768/

Log:
  s/soo_ioctl/fo_ioctl/.  The former should not be called directly.

Added:
  head/net/iet/files/patch-soo_ioctl   (contents, props changed)
Modified:
  head/net/iet/Makefile

Modified: head/net/iet/Makefile
==============================================================================
--- head/net/iet/Makefile	Thu Oct 30 18:17:51 2014	(r371767)
+++ head/net/iet/Makefile	Thu Oct 30 18:31:45 2014	(r371768)
@@ -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}

Added: head/net/iet/files/patch-soo_ioctl
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/iet/files/patch-soo_ioctl	Thu Oct 30 18:31:45 2014	(r371768)
@@ -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;
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410301831.s9UIVj2e075682>