]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Windows: fix buf_Recycle() comment
authorJeffrey Altman <jaltman@your-file-system.com>
Fri, 2 Dec 2011 16:19:13 +0000 (11:19 -0500)
committerDerrick Brashear <shadow@dementix.org>
Sun, 26 Feb 2012 06:37:55 +0000 (22:37 -0800)
buf_Recycle() does not return with a reference count to the
cm_buf_t object held.  Correct the comment.

Reviewed-on: http://gerrit.openafs.org/6173
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
(cherry picked from commit 7dccf17840a53e96b21f8c092910f3e4d7628b71)

Change-Id: I0890439df967f8b2a87d5079adcd71a646500876
Reviewed-on: http://gerrit.openafs.org/6812
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/WINNT/afsd/cm_buf.c

index 460ba7e641ba5b3368b5301e29ed5ba62c39a8d0..b3d41a6686a8166fdbb0f2f5e4d6be5354c469a6 100644 (file)
@@ -852,7 +852,7 @@ afs_uint32 buf_CleanLocked(cm_scache_t *scp, cm_buf_t *bp, cm_req_t *reqp,
 }
 
 /* Called with a zero-ref count buffer and with the buf_globalLock write locked.
- * recycles the buffer, and leaves it ready for reuse with a ref count of 1.
+ * recycles the buffer, and leaves it ready for reuse with a ref count of 0.
  * The buffer must already be clean, and no I/O should be happening to it.
  */
 void buf_Recycle(cm_buf_t *bp)