From e4afa03500a494ef1a142076b02eb4c11944e68b Mon Sep 17 00:00:00 2001 From: Nickolai Zeldovich Date: Tue, 9 Oct 2001 05:57:31 +0000 Subject: [PATCH] freelance-compute-dirsize-correctly-20011009 compute directory size properly --- src/WINNT/afsd/cm_freelance.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WINNT/afsd/cm_freelance.c b/src/WINNT/afsd/cm_freelance.c index 6ae0889eee..1da7f857dc 100644 --- a/src/WINNT/afsd/cm_freelance.c +++ b/src/WINNT/afsd/cm_freelance.c @@ -90,7 +90,7 @@ void cm_InitFakeRootDir() { (curDirEntryInPage + 1 >= CM_DIR_EPP)) { curPage++; curDirEntryInPage = 0; - curChunk = 0; + curChunk = 1; } curChunk += sizeOfCurEntry; curDirEntry++;