提交 f46dbe3d 编写于 作者: C Chris Mason

btrfs: init ref_index to zero in add_inode_ref

Signed-off-by: NChris Mason <chris.mason@fusionio.com>
上级 1037a5af
......@@ -1033,7 +1033,7 @@ static noinline int add_inode_ref(struct btrfs_trans_handle *trans,
int log_ref_ver = 0;
u64 parent_objectid;
u64 inode_objectid;
u64 ref_index;
u64 ref_index = 0;
int ref_struct_size;
ref_ptr = btrfs_item_ptr_offset(eb, slot);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册