Windows: out of date version not in current chunk
authorJeffrey Altman <jaltman@your-file-system.com>
Fri, 28 Oct 2011 15:36:10 +0000 (11:36 -0400)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 28 Oct 2011 21:42:11 +0000 (14:42 -0700)
commit1dad690fc34fdd8d9df8a3be6d580441b7cae8bb
tree66226a9b8b9e010c35bb63f273a2efb639aa3317
parent286ffa0d7c4d594ff107b70f9e930271c027a79e
Windows: out of date version not in current chunk

In buf_GetNewLocked(), the comparision to decide whether a
cm_buf_t is a member of the current chunk must take the data
version into account.  If the data version is out of date, it
is not part of the current chunk and is an object that can be
safely recycled.

Change-Id: Id8ca0a897a0a65efc1cabbe39107ca210b48bd4e
Reviewed-on: http://gerrit.openafs.org/5734
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
src/WINNT/afsd/cm_buf.c