Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Dec 2018 16:10:14 +0000 (UTC)
From:      Mateusz Guzik <mjg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r341697 - head/sys/sys
Message-ID:  <201812071610.wB7GAEfe062245@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812071610.wB7GAEfe062245>