commit | f46dbe3dee853f8a860f889cb2b7ff4c624f2a7a | [log] [tgz] |
---|---|---|
author | Chris Mason <chris.mason@fusionio.com> | Tue Oct 09 11:17:20 2012 -0400 |
committer | Chris Mason <chris.mason@fusionio.com> | Tue Oct 09 11:17:20 2012 -0400 |
tree | b9fa6671d9fbb18fd8a42b8ce44ffa87fa92119d | |
parent | 1037a5affc266fdfe08b2dd415d309ab2778ce6a [diff] [blame] |
btrfs: init ref_index to zero in add_inode_ref Signed-off-by: Chris Mason <chris.mason@fusionio.com>
diff --git a/fs/btrfs/tree-log.c b/fs/btrfs/tree-log.c index 67eab2d..e9ebb47 100644 --- a/fs/btrfs/tree-log.c +++ b/fs/btrfs/tree-log.c
@@ -1033,7 +1033,7 @@ 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);