svn commit: r184116 - in stable/7/sys: . fs/portalfs
Robert Watson
rwatson at FreeBSD.org
Tue Oct 21 09:30:42 UTC 2008
Author: rwatson
Date: Tue Oct 21 09:30:42 2008
New Revision: 184116
URL: http://svn.freebsd.org/changeset/base/184116
Log:
Merge r183806 from head to stable/7:
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.
Approved by: re (kib)
Modified:
stable/7/sys/ (props changed)
stable/7/sys/fs/portalfs/portal_vnops.c
Modified: stable/7/sys/fs/portalfs/portal_vnops.c
==============================================================================
--- stable/7/sys/fs/portalfs/portal_vnops.c Tue Oct 21 08:03:12 2008 (r184115)
+++ stable/7/sys/fs/portalfs/portal_vnops.c Tue Oct 21 09:30:42 2008 (r184116)
@@ -280,7 +280,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-stable-7
mailing list