search for: cache_tree_init

Displaying 3 results from an estimated 3 matches for "cache_tree_init".

2013 Oct 17
0
[PATCH] Btrfs-progs: fix btrfsck improper prompt on dropping snapshots
...e, &key, ptr, size, 0, 0, 1, 0, 1, 0, size); @@ -5449,6 +5480,7 @@ static int check_chunks_and_extents(struct btrfs_root *root) struct btrfs_trans_handle *trans = NULL; int slot; struct btrfs_root_item ri; + struct list_head dropping_trees; dev_cache = RB_ROOT; cache_tree_init(&chunk_cache); @@ -5461,6 +5493,7 @@ static int check_chunks_and_extents(struct btrfs_root *root) cache_tree_init(&nodes); cache_tree_init(&reada); cache_tree_init(&corrupt_blocks); + INIT_LIST_HEAD(&dropping_trees); if (repair) { trans = btrfs_start_transaction(roo...
2009 Nov 14
2
[PATCH] btrfs-progs: Check mount status of multidevice filesystems
...loopback device. Signed-off-by: Andi Drebes <lists-receive@programmierforen.de> --- diff --git a/btrfs-map-logical.c b/btrfs-map-logical.c index a109c6a..1e0ef9f 100644 --- a/btrfs-map-logical.c +++ b/btrfs-map-logical.c @@ -169,7 +169,7 @@ int main(int ac, char **av) radix_tree_init(); cache_tree_init(&root_cache); - root = open_ctree(dev, 0, 0); + root = open_ctree(dev, 0, 0, 0); if (!root) { fprintf(stderr, "Open ctree failed\n"); exit(1); diff --git a/btrfsck.c b/btrfsck.c index 73f1836..1434791 100644 --- a/btrfsck.c +++ b/btrfsck.c @@ -2821,7 +2821,7 @@ int main(int...
2013 Jan 29
8
[RFC] Move btrfsck in to the btrfs command
NOTE: in order to apply this patch you should: git mv btrfsck.c cmd-fsck.c This patch moves btrfsck in to "btrfs fsck". It also adds support for symlinks to the btrfs binary to retain compablity, =) I think something should be done to the help description but i''m not sure what... Anyway, feedback is welcome. -- To unsubscribe from this list: send the line "unsubscribe