Skip to contentSkip to conversation

dm vdo: add missing spin_lock_init

PATCH New Matthew Sakai 1 participant 1 message Feb 19, 2025

Subsystems (2)
lore
Share & tools
lore

Matthew Sakai

author maintainer
#0 lore raw

PATCH 1/1 dm vdo: add missing spin_lock_init

From: Ken Raeburn <[email protected]>

---
 drivers/md/dm-vdo/dedupe.c | 1 +
 1 file changed, 1 insertion(+)
drivers/md/dm-vdo/dedupe.c +1 -0
index 00fff21b8058..5c49d49e023c 100644
@@ -2178,6 +2178,7 @@ static int initialize_index(struct vdo *vdo, struct hash_zones *zones)
 
 	vdo_set_dedupe_index_timeout_interval(vdo_dedupe_index_timeout_interval);
 	vdo_set_dedupe_index_min_timer_interval(vdo_dedupe_index_min_timer_interval);
+	spin_lock_init(&zones->lock);
 
 	/*
 	 * Since we will save up the timeouts that would have been reported but were ratelimited,
Signature · 1 line
2.45.2