mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 15:00:12 +00:00
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 <buildbot@rampaginggeek.com> Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com> Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
This commit is contained in:
parent
c712403f19
commit
7dccf17840
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user