Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3263,7 +3263,7 @@ static int add_tree_block(struct reloc_control *rc,
	struct rb_node *rb_node;
	u32 item_size;
	int level = -1;
	int generation;
	u64 generation;

	eb =  path->nodes[0];
	item_size = btrfs_item_size_nr(eb, path->slots[0]);