aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs
diff options
context:
space:
mode:
authorChris Mason <chris.mason@fusionio.com>2012-07-25 19:21:10 -0400
committerChris Mason <chris.mason@fusionio.com>2012-07-25 19:21:10 -0400
commitb24baf6917a376420d535548e1f88744028bcf24 (patch)
tree71bbf14cba76764be732aa919e203db9131a1659 /fs/btrfs
parent113c1cb530e10bcada93d88ffaa6b521aae2d251 (diff)
Btrfs: uninit variable fixes in send/receive
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/btrfs')
-rw-r--r--fs/btrfs/send.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/send.c b/fs/btrfs/send.c
index 5394cb75012a..bf232c88a0bf 100644
--- a/fs/btrfs/send.c
+++ b/fs/btrfs/send.c
@@ -2676,7 +2676,7 @@ static int process_recorded_refs(struct send_ctx *sctx)
2676 struct ulist_iterator uit; 2676 struct ulist_iterator uit;
2677 struct ulist_node *un; 2677 struct ulist_node *un;
2678 struct fs_path *valid_path = NULL; 2678 struct fs_path *valid_path = NULL;
2679 u64 ow_inode; 2679 u64 ow_inode = 0;
2680 u64 ow_gen; 2680 u64 ow_gen;
2681 int did_overwrite = 0; 2681 int did_overwrite = 0;
2682 int is_orphan = 0; 2682 int is_orphan = 0;
@@ -3553,7 +3553,7 @@ static int send_write(struct send_ctx *sctx, u64 offset, u32 len)
3553 int ret = 0; 3553 int ret = 0;
3554 struct fs_path *p; 3554 struct fs_path *p;
3555 loff_t pos = offset; 3555 loff_t pos = offset;
3556 int readed; 3556 int readed = 0;
3557 mm_segment_t old_fs; 3557 mm_segment_t old_fs;
3558 3558
3559 p = fs_path_alloc(sctx); 3559 p = fs_path_alloc(sctx);