From 7193b01dfa750b371de63a4003666773e15a84ae Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Fri, 2 Dec 2011 11:19:13 -0500 Subject: [PATCH] Windows: fix buf_Recycle() comment 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 Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman (cherry picked from commit 7dccf17840a53e96b21f8c092910f3e4d7628b71) Change-Id: I0890439df967f8b2a87d5079adcd71a646500876 Reviewed-on: http://gerrit.openafs.org/6812 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- src/WINNT/afsd/cm_buf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WINNT/afsd/cm_buf.c b/src/WINNT/afsd/cm_buf.c index 460ba7e64..b3d41a668 100644 --- a/src/WINNT/afsd/cm_buf.c +++ b/src/WINNT/afsd/cm_buf.c @@ -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) -- 2.39.5