diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-05-13 13:48:58 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2008-05-13 13:48:58 -0400 |
commit | 351d17fca2cf8063f323a060cd3c4af62ef58d15 (patch) | |
tree | d91b63f25ae45260b9b89f7c70b6af7c34bede79 /ctree.c | |
parent | 9a9bdd6047a378dbe5a65a79cb8537f797d4fd5c (diff) |
Verify parent generation number on btree reads
Diffstat (limited to 'ctree.c')
-rw-r--r-- | ctree.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -378,7 +378,7 @@ int btrfs_realloc_node(struct btrfs_trans_handle *trans, cur = btrfs_find_tree_block(root, blocknr, blocksize); if (cur) - uptodate = btrfs_buffer_uptodate(cur); + uptodate = btrfs_buffer_uptodate(cur, gen); else uptodate = 0; if (!cur || !uptodate) { |