reserve space for . and .. in dynroot/freelance
fix my (shadow@dementia.org) screwup
curChunk = 13;
curPage = 0;
+ /* Reserve space for "." and ".." */
+ curChunk += 2;
+
for (cellidx = 0; cellidx < maxcellidx; cellidx++) {
c = afs_GetCellByIndex(cellidx, READ_LOCK, 0 /* don't refresh */);
if (!c) continue;
afs_dynroot_addDirEnt(dirHeader, &curPage, &curChunk, "..", 1);
linkCount += 2;
- /* Reserve space for "." and ".." */
- curChunk += 2;
-
for (cellidx = 0; cellidx < maxcellidx; cellidx++) {
c = afs_GetCellByIndex(cellidx, READ_LOCK, 0 /* don't refresh */);
if (!c) continue;