summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@redhat.com>2025-02-20 01:56:00 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-03-07 20:25:44 +0300
commitc8dc4e991042a9ec6eebf93dcbdc3840bfb48318 (patch)
tree0c1e1a79e1d180440ebd1b090fe91ffa59f0062c /drivers
parent22c6f577b3cb184857b440ae5e5916f6c9e7021d (diff)
downloadlinux-c8dc4e991042a9ec6eebf93dcbdc3840bfb48318.tar.xz
dm vdo: add missing spin_lock_init
commit 36e1b81f599a093ec7477e4593e110104adcfb96 upstream. 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/md/dm-vdo/dedupe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/dm-vdo/dedupe.c b/drivers/md/dm-vdo/dedupe.c
index 80628ae93fba..5a74b3a85ec4 100644
--- a/drivers/md/dm-vdo/dedupe.c
+++ b/drivers/md/dm-vdo/dedupe.c
@@ -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,