svn commit: r183808 - head/sys/kern
Robert Watson
rwatson at FreeBSD.org
Sun Oct 12 20:03:18 UTC 2008
Author: rwatson
Date: Sun Oct 12 20:03:17 2008
New Revision: 183808
URL: http://svn.freebsd.org/changeset/base/183808
Log:
Downgrade XXX to a Note for fgetsock() and fputsock().
MFC after: 3 days
Modified:
head/sys/kern/kern_descrip.c
Modified: head/sys/kern/kern_descrip.c
==============================================================================
--- head/sys/kern/kern_descrip.c Sun Oct 12 20:01:32 2008 (r183807)
+++ head/sys/kern/kern_descrip.c Sun Oct 12 20:03:17 2008 (r183808)
@@ -2150,7 +2150,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.
*/
@@ -2183,7 +2183,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