projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1037a5a
)
btrfs: init ref_index to zero in add_inode_ref
author
Chris Mason
<chris.mason@fusionio.com>
Tue, 9 Oct 2012 15:17:20 +0000
(11:17 -0400)
committer
Chris Mason
<chris.mason@fusionio.com>
Tue, 9 Oct 2012 15:17:20 +0000
(11:17 -0400)
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/tree-log.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/btrfs/tree-log.c
b/fs/btrfs/tree-log.c
index 67eab2d4d8a9bc125279454ed10577cff095b5de..e9ebb472b28ba6d5bb9e077e8b1a2f877797adb0 100644
(file)
--- a/
fs/btrfs/tree-log.c
+++ b/
fs/btrfs/tree-log.c
@@
-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);