Skip to content

Commit

Permalink
Btrfs: uninit variable fixes in send/receive
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
  • Loading branch information
Chris Mason committed Jul 25, 2012
1 parent 113c1cb commit b24baf6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/btrfs/send.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit b24baf6

Please sign in to comment.