aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-03-07 16:15:30 -0500
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-03-07 16:15:30 -0500
commit0579da4280812f34f382fb0f8004d7b0219e7a33 (patch)
tree817da9340020ac01849b610b90f6803d81bc97d3 /fs/btrfs/disk-io.c
parent037e6390488af8ab96137e1e5cccc15ad14ef887 (diff)
Btrfs: Fixup last found extent caching
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r--fs/btrfs/disk-io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index 2fe31c3508c1..997cc578a185 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -186,6 +186,7 @@ static int __setup_root(struct ctree_root *root, struct ctree_root *extent_root,
186 root->commit_root = NULL; 186 root->commit_root = NULL;
187 root->node = read_tree_block(root, info->tree_root); 187 root->node = read_tree_block(root, info->tree_root);
188 memset(&root->current_insert, 0, sizeof(root->current_insert)); 188 memset(&root->current_insert, 0, sizeof(root->current_insert));
189 memset(&root->last_insert, 0, sizeof(root->last_insert));
189 return 0; 190 return 0;
190} 191}
191 192