]> git.michaelhowe.org Git - packages/o/openafs.git/commit
STABLE14-dirbuffer-fid-is-index-20050119
authorChaskiel M Grundman <cg2v@andrew.cmu.edu>
Mon, 31 Jan 2005 04:18:40 +0000 (04:18 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 31 Jan 2005 04:18:40 +0000 (04:18 +0000)
commit885559ab7ee04b27b53b322c697e7bc96b511886
treede428b2ee0778f83d66a60aa2787a57b1b7d438e
parent07ff56fbb44de5a9208f56a191985eb8bfdc9e82
STABLE14-dirbuffer-fid-is-index-20050119

"The new buffer code (which I wrote) did not deal
with dcache object re-use, as I had conflated the concepts of "dcache *
reuse" and "dcache slot reuse".

This patch should fix this problem. It now stores the dcache index (aka slot number,
which is the same as the numeric part of the cache file's filename) in the
buffer instead of the ephemeral struct dcache pointer."

(cherry picked from commit 8ccd2d91d89fc3ed0170a458853ec95ff274c87d)
src/afs/afs.h
src/afs/afs_buffer.c
src/afs/afs_osi.h