tcleanup - 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 7e6f40b26d0165e0e8b8f0ba9ae1b144340f05c9
 (DIR) parent 3844a3d978f02504be987e03a75c40a25bc6cefd
 (HTM) Author: rsc <devnull@localhost>
       Date:   Wed, 13 Jul 2005 10:46:26 +0000
       
       cleanup
       
       Diffstat:
         M include/venti.h                     |      10 +++-------
         M man/man7/venti.7                    |       8 +++++++-
       
       2 files changed, 10 insertions(+), 8 deletions(-)
       ---
 (DIR) diff --git a/include/venti.h b/include/venti.h
       t@@ -281,7 +281,7 @@ enum
        
        struct VtFcall
        {
       -        uchar        type;
       +        uchar        msgtype;
                uchar        tag;
        
                char        *error;        /* Rerror */
       t@@ -299,7 +299,7 @@ struct VtFcall
                uchar        *auth;                /* TauthX, RauthX */
                uint        nauth;                /* TauthX, RauthX */
                uchar        score[VtScoreSize];        /* Tread, Rwrite */
       -        uchar        dtype;                /* Tread, Twrite */
       +        uchar        blocktype;                /* Tread, Twrite */
                ushort        count;                /* Tread */
                Packet        *data;                /* Rread, Twrite */
        };
       t@@ -411,9 +411,6 @@ struct VtBlock
                u32int        used;
                u32int        used2;
                u32int        addr;
       -
       -        /* internal to efile (HACK) */
       -        int                decrypted;
        };
        
        u32int vtglobaltolocal(uchar[VtScoreSize]);
       t@@ -460,7 +457,6 @@ enum
                VtOREAD,
                VtOWRITE,
                VtORDWR,
       -        VtOCREATE = 0x100,
        };
        
        VtFile *vtfileopenroot(VtCache*, VtEntry*);
       t@@ -481,7 +477,7 @@ int vtfilesetdirsize(VtFile*, u32int);
        void        vtfileunlock(VtFile*);
        int vtfilelock(VtFile*, int);
        int vtfilelock2(VtFile*, VtFile*, int);
       -int vtfileflushbefore(VtFile*, u64int);
       +int vtfileflushbefore(VtFile*, uvlong);
        int vtfiletruncate(VtFile*);
        uvlong vtfilegetsize(VtFile*);
        int vtfilesetsize(VtFile*, uvlong);
 (DIR) diff --git a/man/man7/venti.7 b/man/man7/venti.7
       t@@ -436,4 +436,10 @@ upon receiving the
        message, the server terminates up the connection.
        .SH SEE ALSO
        .IR venti (1),
       -.IR venti (3)
       +.IR venti (3),
       +.IR venti (8)
       +.br
       +Sean Quinlan and Sean Dorward,
       +``Venti: a new approach to archival storage'',
       +.I "Usenix Conference on File and Storage Technologies" ,
       +2002.