FreeCalypso > hg > freecalypso-reveng
diff pirollback/struct.h @ 46:78ac405716db
pirollback: journal parsing implemented
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sun, 07 Jul 2013 06:14:40 +0000 |
parents | 074237879eca |
children |
line wrap: on
line diff
--- a/pirollback/struct.h Sat Jul 06 22:06:38 2013 +0000 +++ b/pirollback/struct.h Sun Jul 07 06:14:40 2013 +0000 @@ -10,6 +10,17 @@ u16 updates; }; +struct journal_entry { + u8 status; + u8 objtype; + u16 this_ino; + u16 link_ptr; + u16 replacee; + u32 location; + u16 size; + u16 repli; /* ??? */ +}; + /* our own struct for convenience */ struct inode_info { struct inode_flash *flash; @@ -22,4 +33,8 @@ int descend; int sibling; u8 *byte_after_name; + /* info added from parsing the journal */ + struct journal_entry *jflash; + int j_unlink_ptr; + int j_oldver; };