Module Name: src Committed By: pgoyette Date: Fri May 19 02:20:24 UTC 2017
Modified Files: src/sys/kern: subr_localcount.c Log Message: Fix a comment - in localcount_fini(), we don't care whether it was the caller or some other code that drained the localcount; all we care is that it has been drained. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/kern/subr_localcount.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/kern/subr_localcount.c diff -u src/sys/kern/subr_localcount.c:1.2 src/sys/kern/subr_localcount.c:1.3 --- src/sys/kern/subr_localcount.c:1.2 Fri May 19 00:01:33 2017 +++ src/sys/kern/subr_localcount.c Fri May 19 02:20:24 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: subr_localcount.c,v 1.2 2017/05/19 00:01:33 pgoyette Exp $ */ +/* $NetBSD: subr_localcount.c,v 1.3 2017/05/19 02:20:24 pgoyette Exp $ */ /*- * Copyright (c) 2016 The NetBSD Foundation, Inc. @@ -44,7 +44,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: subr_localcount.c,v 1.2 2017/05/19 00:01:33 pgoyette Exp $"); +__KERNEL_RCSID(0, "$NetBSD: subr_localcount.c,v 1.3 2017/05/19 02:20:24 pgoyette Exp $"); #include <sys/param.h> #include <sys/localcount.h> @@ -138,7 +138,7 @@ localcount_drain(struct localcount *lc, * localcount_fini(lc) * * Finalize a localcount object, releasing any memory allocated - * for it. Caller must have already called localcount_drain. + * for it. The localcount object must already have been drained. */ void localcount_fini(struct localcount *lc)