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:
113c1cb
)
Btrfs: uninit variable fixes in send/receive
author
Chris Mason
<chris.mason@fusionio.com>
Wed, 25 Jul 2012 23:21:10 +0000
(19:21 -0400)
committer
Chris Mason
<chris.mason@fusionio.com>
Wed, 25 Jul 2012 23:21:10 +0000
(19:21 -0400)
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/send.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/btrfs/send.c
b/fs/btrfs/send.c
index 5394cb75012a6370cc56df082928d3f5d084dfdf..bf232c88a0bff5fbc897d3f4358b45a3816a6653 100644
(file)
--- a/
fs/btrfs/send.c
+++ b/
fs/btrfs/send.c
@@
-2676,7
+2676,7
@@
static int process_recorded_refs(struct send_ctx *sctx)
struct ulist_iterator uit;
struct ulist_node *un;
struct fs_path *valid_path = NULL;
- u64 ow_inode;
+ u64 ow_inode
= 0
;
u64 ow_gen;
int did_overwrite = 0;
int is_orphan = 0;
@@
-3553,7
+3553,7
@@
static int send_write(struct send_ctx *sctx, u64 offset, u32 len)
int ret = 0;
struct fs_path *p;
loff_t pos = offset;
- int readed;
+ int readed
= 0
;
mm_segment_t old_fs;
p = fs_path_alloc(sctx);