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

Commit d8347fa4 authored by Alexander Block's avatar Alexander Block Committed by Chris Mason
Browse files

Btrfs: use <= instead of < in is_extent_unchanged



Used the wrong compare operator here.

Reported-by: default avatarAlex Lyakas <alex.bolshoy.btrfs@gmail.com>
Signed-off-by: default avatarAlexander Block <ablock84@googlemail.com>
parent 3954096d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3802,7 +3802,7 @@ static int is_extent_unchanged(struct send_ctx *sctx,
		 * Are we at extent 8? If yes, we know the extent is changed.
		 * This may only happen on the first iteration.
		 */
		if (found_key.offset + right_len < ekey->offset) {
		if (found_key.offset + right_len <= ekey->offset) {
			ret = 0;
			goto out;
		}