tanother flush bug fix - plan9port - [fork] Plan 9 from user space
 (HTM) git clone git://src.adamsgaard.dk/plan9port
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 005ee04b9f6484c1831c655fcfb246424919fca1
 (DIR) parent 59a9682013a2f4c5ee679ba910fe234ea61f6808
 (HTM) Author: rsc <devnull@localhost>
       Date:   Thu, 17 Jun 2004 21:16:17 +0000
       
       another flush bug fix
       
       Diffstat:
         M src/libventi/file.c                 |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/src/libventi/file.c b/src/libventi/file.c
       t@@ -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 */