plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 005ee04b9f6484c1831c655fcfb246424919fca1
parent 59a9682013a2f4c5ee679ba910fe234ea61f6808
Author: rsc <devnull@localhost>
Date:   Thu, 17 Jun 2004 21:16:17 +0000

another flush bug fix

Diffstat:
Msrc/libventi/file.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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 */