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:
Robert Watson 2008-10-12 19:23:02 +00:00
parent 58bb626051
commit f17c6f031e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=183806

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