diff options
Diffstat (limited to 'fs/btrfs/ctree.c')
-rw-r--r-- | fs/btrfs/ctree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c index 289d71d8653a..02e571e6ee62 100644 --- a/fs/btrfs/ctree.c +++ b/fs/btrfs/ctree.c | |||
@@ -379,7 +379,7 @@ int btrfs_realloc_node(struct btrfs_trans_handle *trans, | |||
379 | 379 | ||
380 | cur = btrfs_find_tree_block(root, blocknr, blocksize); | 380 | cur = btrfs_find_tree_block(root, blocknr, blocksize); |
381 | if (cur) | 381 | if (cur) |
382 | uptodate = btrfs_buffer_uptodate(cur); | 382 | uptodate = btrfs_buffer_uptodate(cur, gen); |
383 | else | 383 | else |
384 | uptodate = 0; | 384 | uptodate = 0; |
385 | if (!cur || !uptodate) { | 385 | if (!cur || !uptodate) { |