Since two pbios going to the same cluster may be linked
both on delayed queue, there is no reasons to remove
picked pbio from list: the same cluster may be picked
again later.

Signed-off-by: Kirill Tkhai <[email protected]>
---
 drivers/md/dm-push-backup.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/md/dm-push-backup.c b/drivers/md/dm-push-backup.c
index 9cc2678b4d54..66c55e5aa07f 100644
--- a/drivers/md/dm-push-backup.c
+++ b/drivers/md/dm-push-backup.c
@@ -377,7 +377,6 @@ static int push_backup_read(struct push_backup *pb,
                spin_unlock_irq(&pb->lock);
                goto again;
        }
-       list_del_init(&pbio->list);
 
        left = pbio->clu;
        right = find_next_zero_bit(pb->pending_map, pb->nr_clus, left + 1);


_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to