diff options
Diffstat (limited to 'src/libventi')
-rw-r--r-- | src/libventi/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libventi/file.c b/src/libventi/file.c index 1afa2a46..43455aba 100644 --- a/src/libventi/file.c +++ b/src/libventi/file.c @@ -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 */ |