diff options
author | pjd <pjd@FreeBSD.org> | 2011-10-27 20:10:21 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2011-10-27 20:10:21 +0000 |
commit | 986d3757ae9c0bda34767a62844559c4021b0830 (patch) | |
tree | c7247cccc92faf546c720a8589305a2ccb0efa6e /sbin/hastd | |
parent | 72922c3d6b1f2bfbe803d9f4436607f17a0fecd1 (diff) | |
download | FreeBSD-src-986d3757ae9c0bda34767a62844559c4021b0830.zip FreeBSD-src-986d3757ae9c0bda34767a62844559c4021b0830.tar.gz |
Improve comment so it doesn't suggest race is possible, but that we handle
the race.
MFC after: 3 days
Diffstat (limited to 'sbin/hastd')
-rw-r--r-- | sbin/hastd/primary.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/hastd/primary.c b/sbin/hastd/primary.c index b06afc6..d1177a1 100644 --- a/sbin/hastd/primary.c +++ b/sbin/hastd/primary.c @@ -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)) { |