From: Jeffrey Altman Date: Fri, 2 Dec 2011 16:19:13 +0000 (-0500) Subject: Windows: fix buf_Recycle() comment X-Git-Tag: upstream/1.8.0_pre1^2~2990 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=7dccf17840a53e96b21f8c092910f3e4d7628b71;p=packages%2Fo%2Fopenafs.git Windows: fix buf_Recycle() comment buf_Recycle() does not return with a reference count to the cm_buf_t object held. Correct the comment. Change-Id: Ic6acde3178afe59181436d9c10d4ddfb05340372 Reviewed-on: http://gerrit.openafs.org/6173 Tested-by: BuildBot Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman --- diff --git a/src/WINNT/afsd/cm_buf.c b/src/WINNT/afsd/cm_buf.c index 623166524..c0130ac9c 100644 --- a/src/WINNT/afsd/cm_buf.c +++ b/src/WINNT/afsd/cm_buf.c @@ -938,7 +938,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)