Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b24baf69 authored by Chris Mason's avatar Chris Mason
Browse files

Btrfs: uninit variable fixes in send/receive

parent 113c1cb5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);