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

Commit add5856a authored by Kyle Yan's avatar Kyle Yan
Browse files

ext4: Initialize ee_start_lo to avoid potential use before initialization



Initialize ee_start_lo as it may be used in error path before it has
been initialized.

Change-Id: I4329615fdc49f2ae87b0d4280b870a2ea1a3e20d
Signed-off-by: default avatarKyle Yan <kyan@codeaurora.org>
parent 355cae8b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -3438,6 +3438,8 @@ static int ext4_ext_convert_to_initialized(handle_t *handle,
	ee_len = ext4_ext_get_actual_len(ex);
	zero_ex1.ee_len = 0;
	zero_ex2.ee_len = 0;
	zero_ex1.ee_start_lo = 0;
	zero_ex2.ee_start_lo = 0;

	trace_ext4_ext_convert_to_initialized_enter(inode, map, ex);