summaryrefslogtreecommitdiff
path: root/src/journal.h
diff options
context:
space:
mode:
authorrobi <robi>2010-09-24 02:03:00 +0000
committerrobi <robi>2010-09-24 02:03:00 +0000
commit2761a6bac18b775c6ddd5dcdc83ade0ce6e4944c (patch)
tree62226f1e1439c8c1e7241722fe86bfcb2e728528 /src/journal.h
parent2a7afdee4772f99afdc404bcafea2b70df1bead0 (diff)
magic functions
Diffstat (limited to 'src/journal.h')
-rw-r--r--src/journal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/journal.h b/src/journal.h
index 9a05fbc..3f3648a 100644
--- a/src/journal.h
+++ b/src/journal.h
@@ -29,6 +29,7 @@ typedef struct journal_descriptor_tag_s
__u32 transaction; /* Transaction Sequence*/
} journal_descriptor_tag_t;
+
//struct for cache the block bitmap data
typedef struct journal_bitmap_tag_s
{
@@ -38,6 +39,8 @@ typedef struct journal_bitmap_tag_s
} journal_bitmap_tag_t;
+
+//head struct for collect the Block Bitmaps of Journal
struct j_bitmap_list_t
{
int count;
@@ -53,6 +56,7 @@ struct j_bitmap_list_t
};
+
void dump_journal_superblock( void); //print journal superblock
extern int journal_open(char* , int );// open an extract the blocklist from journal
extern int journal_close(void); // close the journal (last function in main() if the journal open)