summaryrefslogtreecommitdiff
path: root/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
commit2adfc44778e056c900eb02f36dc706e248777544 (patch)
tree711aa103e330b44aaecbe7ed99c8e5d2c0d6c3e5 /disk-io.c
parent4c4eac1f03a507f9c2473f6de528f28ce81c199c (diff)
Fixup last found extent caching
Diffstat (limited to 'disk-io.c')
-rw-r--r--disk-io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/disk-io.c b/disk-io.c
index 2fe31c35..997cc578 100644
--- a/disk-io.c
+++ b/disk-io.c
@@ -186,6 +186,7 @@ static int __setup_root(struct ctree_root *root, struct ctree_root *extent_root,
root->commit_root = NULL;
root->node = read_tree_block(root, info->tree_root);
memset(&root->current_insert, 0, sizeof(root->current_insert));
+ memset(&root->last_insert, 0, sizeof(root->last_insert));
return 0;
}