Skip to content

Commit 180aff9

Browse files
committed
dm vdo: add missing spin_lock_init
JIRA: https://issues.redhat.com/browse/RHEL-59337 Upstream Status: kernel/git/torvalds/linux.git commit 36e1b81 Author: Ken Raeburn <raeburn@redhat.com> Date: Wed Feb 19 17:56:00 2025 -0500 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 Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
1 parent 6a0fd18 commit 180aff9

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)