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

Commit f10f2623 authored by Philipp Reisner's avatar Philipp Reisner
Browse files

drbd: Fixed a stupid copy and paste error



This caused rs_planed to be not in sync with the content of the fifo.
That in turn could cause that the resync comes to a complete halt.

Signed-off-by: default avatarPhilipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: default avatarLars Ellenberg <lars.ellenberg@linbit.com>
parent 00b42537
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -421,7 +421,7 @@ static void fifo_set(struct fifo_buffer *fb, int value)
	int i;

	for (i = 0; i < fb->size; i++)
		fb->values[i] += value;
		fb->values[i] = value;
}

static int fifo_push(struct fifo_buffer *fb, int value)