svn commit: r183806 - head/sys/fs/portalfs
Robert Watson
rwatson at FreeBSD.org
Sun Oct 12 19:23:02 UTC 2008
Author: rwatson
Date: Sun Oct 12 19:23:02 2008
New Revision: 183806
URL: http://svn.freebsd.org/changeset/base/183806
Log:
The locking in portalfs's socket connect code is no less correct than
identical code in connect(2), so remove XXX that it might be incorrect.
MFC after: 3 days
Modified:
head/sys/fs/portalfs/portal_vnops.c
Modified: head/sys/fs/portalfs/portal_vnops.c
==============================================================================
--- head/sys/fs/portalfs/portal_vnops.c Sun Oct 12 19:19:26 2008 (r183805)
+++ head/sys/fs/portalfs/portal_vnops.c Sun Oct 12 19:23:02 2008 (r183806)
@@ -279,7 +279,6 @@ portal_open(ap)
* will happen if the server dies. Sleep for 5 second intervals
* and keep polling the reference count. XXX.
*/
- /* XXXRW: Locking? */
SOCK_LOCK(so);
while ((so->so_state & SS_ISCONNECTING) && so->so_error == 0) {
if (fmp->pm_server->f_count == 1) {
More information about the svn-src-all
mailing list