dcache-dont-erroneously-fail-to-fill-in-tsmall-20011225
authorNickolai Zeldovich <kolya@mit.edu>
Tue, 25 Dec 2001 18:04:52 +0000 (18:04 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 25 Dec 2001 18:04:52 +0000 (18:04 +0000)
commit96f340c532211577f5411aad2037ac728e6362e6
treea2ee24e0ba18123dff6012a54c90197f4f0c70c5
parent4e02670a22ca38356f34a53ac641b5c008908534
dcache-dont-erroneously-fail-to-fill-in-tsmall-20011225

"The particular problem seems to be, when size
  is computed to be zero, tsmall is not filled in with valid data,
  and ProcessFS is called with a zeroed out OutStatus.  This causes
  the file to magically turn into a directory (VDIR), among other
  things"

"The second part of the patch doesn't fix any bug that I've ran into
  thus far, but seemed like a good idea while I was reading the code
  to find the former bug."
src/afs/afs_dcache.c