mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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: Philipp Reisner <[email protected]> Signed-off-by: Lars Ellenberg <[email protected]>
This commit is contained in:
parent
00b425377d
commit
f10f262349
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue