Btrfs: uninit variable fixes in send/receive
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
diff --git a/fs/btrfs/send.c b/fs/btrfs/send.c
index 5394cb7..bf232c8 100644
--- a/fs/btrfs/send.c
+++ b/fs/btrfs/send.c
@@ -2676,7 +2676,7 @@
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 @@
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);