Commit 7fdf4b60 authored by Wang Shilong's avatar Wang Shilong Committed by Chris Mason

Btrfs: use 'u64' rather than 'int' to get extent's generation

We define a 'int' to get extent's generation by mistake,fix it.
Signed-off-by: default avatarWang Shilong <wangsl.fnst@cn.fujitsu.com>
Signed-off-by: default avatarJosef Bacik <jbacik@fusionio.com>
Signed-off-by: default avatarChris Mason <chris.mason@fusionio.com>
parent 9dced186
...@@ -3263,7 +3263,7 @@ static int add_tree_block(struct reloc_control *rc, ...@@ -3263,7 +3263,7 @@ static int add_tree_block(struct reloc_control *rc,
struct rb_node *rb_node; struct rb_node *rb_node;
u32 item_size; u32 item_size;
int level = -1; int level = -1;
int generation; u64 generation;
eb = path->nodes[0]; eb = path->nodes[0];
item_size = btrfs_item_size_nr(eb, path->slots[0]); item_size = btrfs_item_size_nr(eb, path->slots[0]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment