summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/block/drbd/drbd_worker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/drbd/drbd_worker.c b/drivers/block/drbd/drbd_worker.c
index 83ba63ab2358..166b51ec7b67 100644
--- a/drivers/block/drbd/drbd_worker.c
+++ b/drivers/block/drbd/drbd_worker.c
@@ -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)