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
This commit is contained in:
rwatson 2008-10-12 19:23:02 +00:00
parent eee0889b0a
commit 06ac7ce6a0

View File

@ -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) {