diff options
| author | Chris Mason <[email protected]> | 2007-03-07 21:15:30 +0000 |
|---|---|---|
| committer | David Woodhouse <[email protected]> | 2007-03-07 21:15:30 +0000 |
| commit | 0579da4280812f34f382fb0f8004d7b0219e7a33 (patch) | |
| tree | 817da9340020ac01849b610b90f6803d81bc97d3 /fs/btrfs/disk-io.c | |
| parent | Btrfs: get rid of add recursion (diff) | |
| download | kernel-0579da4280812f34f382fb0f8004d7b0219e7a33.tar.gz kernel-0579da4280812f34f382fb0f8004d7b0219e7a33.zip | |
Btrfs: Fixup last found extent caching
Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'fs/btrfs/disk-io.c')
| -rw-r--r-- | fs/btrfs/disk-io.c | 1 |
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, 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; } |
