Improve comment so it doesn't suggest race is possible, but that we handle

the race.

MFC after:	3 days
This commit is contained in:
pjd 2011-10-27 20:10:21 +00:00
parent 72922c3d6b
commit 986d3757ae

View File

@ -1021,7 +1021,7 @@ remote_close(struct hast_resource *res, int ncomp)
rw_wlock(&hio_remote_lock[ncomp]);
/*
* A race is possible between dropping rlock and acquiring wlock -
* Check for a race between dropping rlock and acquiring wlock -
* another thread can close connection in-between.
*/
if (!ISCONNECTED(res, ncomp)) {