aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/lightnvm/pblk-recovery.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/lightnvm/pblk-recovery.c b/drivers/lightnvm/pblk-recovery.c
index 83b467b5edc7..017874e03253 100644
--- a/drivers/lightnvm/pblk-recovery.c
+++ b/drivers/lightnvm/pblk-recovery.c
@@ -844,6 +844,7 @@ next:
844 spin_unlock(&l_mg->free_lock); 844 spin_unlock(&l_mg->free_lock);
845 } else { 845 } else {
846 spin_lock(&l_mg->free_lock); 846 spin_lock(&l_mg->free_lock);
847 l_mg->data_line = data_line;
847 /* Allocate next line for preparation */ 848 /* Allocate next line for preparation */
848 l_mg->data_next = pblk_line_get(pblk); 849 l_mg->data_next = pblk_line_get(pblk);
849 if (l_mg->data_next) { 850 if (l_mg->data_next) {