svn commit: r341697 - head/sys/sys
Mateusz Guzik
mjg at FreeBSD.org
Fri Dec 7 16:10:14 UTC 2018
Author: mjg
Date: Fri Dec 7 16:10:13 2018
New Revision: 341697
URL: https://svnweb.freebsd.org/changeset/base/341697
Log:
refcount: remove a stale comment about conditional ref/unref routines
It was there for vfs-specific variants and was copied over when it should not.
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/sys/refcount.h
Modified: head/sys/sys/refcount.h
==============================================================================
--- head/sys/sys/refcount.h Fri Dec 7 16:05:39 2018 (r341696)
+++ head/sys/sys/refcount.h Fri Dec 7 16:10:13 2018 (r341697)
@@ -79,8 +79,6 @@ refcount_release(volatile u_int *count)
/*
* This functions returns non-zero if the refcount was
* incremented. Else zero is returned.
- *
- * A temporary hack until refcount_* APIs are sorted out.
*/
static __inline __result_use_check int
refcount_acquire_if_not_zero(volatile u_int *count)
More information about the svn-src-all
mailing list