svn commit: r184120 - in stable/7/sys: . kern
Robert Watson
rwatson at FreeBSD.org
Tue Oct 21 10:17:52 UTC 2008
Author: rwatson
Date: Tue Oct 21 10:17:51 2008
New Revision: 184120
URL: http://svn.freebsd.org/changeset/base/184120
Log:
Merge r183803 from head to stable/7:
Downgrade XXX to a Note for fgetsock() and fputsock().
Approved by: re (kib)
Modified:
stable/7/sys/ (props changed)
stable/7/sys/kern/kern_descrip.c
Modified: stable/7/sys/kern/kern_descrip.c
==============================================================================
--- stable/7/sys/kern/kern_descrip.c Tue Oct 21 09:56:23 2008 (r184119)
+++ stable/7/sys/kern/kern_descrip.c Tue Oct 21 10:17:51 2008 (r184120)
@@ -2163,7 +2163,7 @@ fgetvp_write(struct thread *td, int fd,
* We bump the ref count on the returned socket. XXX Also obtain the SX lock
* in the future.
*
- * XXXRW: fgetsock() and fputsock() are deprecated, as consumers should rely
+ * Note: fgetsock() and fputsock() are deprecated, as consumers should rely
* on their file descriptor reference to prevent the socket from being free'd
* during use.
*/
@@ -2196,7 +2196,7 @@ fgetsock(struct thread *td, int fd, stru
* Drop the reference count on the socket and XXX release the SX lock in the
* future. The last reference closes the socket.
*
- * XXXRW: fputsock() is deprecated, see comment for fgetsock().
+ * Note: fputsock() is deprecated, see comment for fgetsock().
*/
void
fputsock(struct socket *so)
More information about the svn-src-all
mailing list