]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Windows: refactor buf_Get() to improve readability
authorJeffrey Altman <jaltman@your-file-system.com>
Sat, 8 Jan 2011 17:21:23 +0000 (12:21 -0500)
committerDerrick Brashear <shadow@dementia.org>
Thu, 3 Feb 2011 11:44:37 +0000 (03:44 -0800)
commitfd022f97b7341a40efd8e3db5f3091d3a3e77b31
tree9d36bca78a09f49de03a5ee456552ea07b96aeee
parentbd78d2a45c779115711fb5e6ef94e05cf176d932
Windows: refactor buf_Get() to improve readability

Refactor buf_Get() by using a switch() instead of a jumble
of if() conditionals.

Improve comments to make it clear that given the current
use and implementation of cm_BufRead() from cm_dcache.c
that created buffer pages will never be populated with
actual data.

Reviewed-on: http://gerrit.openafs.org/3630
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
(cherry picked from commit 9f584e811486da7129a61da554fae09029b0de67)

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