Skip to content

Commit 36e1b81

Browse files
raeburnMikulas Patocka
authored andcommitted
dm vdo: add missing spin_lock_init
Signed-off-by: Ken Raeburn <raeburn@redhat.com> Signed-off-by: Matthew Sakai <msakai@redhat.com> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Cc: stable@vger.kernel.org
1 parent c19525b commit 36e1b81

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/md/dm-vdo/dedupe.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2178,6 +2178,7 @@ static int initialize_index(struct vdo *vdo, struct hash_zones *zones)
21782178

21792179
vdo_set_dedupe_index_timeout_interval(vdo_dedupe_index_timeout_interval);
21802180
vdo_set_dedupe_index_min_timer_interval(vdo_dedupe_index_min_timer_interval);
2181+
spin_lock_init(&zones->lock);
21812182

21822183
/*
21832184
* Since we will save up the timeouts that would have been reported but were ratelimited,

0 commit comments

Comments
 (0)