-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 128247 b: refs/heads/master c: fec577f h: refs/heads/master i: 128245: efbf2c6 128243: 4b8400f 128239: e9a39c5 v: v3
- Loading branch information
Chris Mason
authored and
David Woodhouse
committed
Feb 26, 2007
1 parent
0dda7ab
commit d2f725c
Showing
7 changed files
with
681 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 97571fd0c939be8ae9cb57a8c57430a244ce13ae | ||
refs/heads/master: fec577fb7f516e0d12ff821b1af272fd754e120a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#include <stdio.h> | ||
#include <stdlib.h> | ||
#include "kerncompat.h" | ||
#include "radix-tree.h" | ||
#include "ctree.h" | ||
#include "disk-io.h" | ||
#include "print-tree.h" | ||
|
||
int main() { | ||
struct ctree_super_block super; | ||
struct ctree_root *root; | ||
radix_tree_init(); | ||
root = open_ctree("dbfile", &super); | ||
printf("root tree\n"); | ||
print_tree(root, root->node); | ||
printf("map tree\n"); | ||
print_tree(root->extent_root, root->extent_root->node); | ||
return 0; | ||
} |
Oops, something went wrong.