another flush bug fix

This commit is contained in:
rsc 2004-06-17 21:16:17 +00:00
parent 59a9682013
commit 005ee04b9f

View file

@ -1214,7 +1214,7 @@ vtfileflushbefore(VtFile *r, u64int offset)
* has been finished.
*/
base = e.type&~VtTypeDepthMask;
for(i=0; i<depth; i++){
for(i=0; i<=depth; i++){
doflush = 0;
if(i == 0){
/* leaf: data or dir block */