diff options
author | 2025-02-19 17:56:00 -0500 | |
---|---|---|
committer | 2025-02-24 12:07:02 +0100 | |
commit | 36e1b81f599a093ec7477e4593e110104adcfb96 (patch) | |
tree | c9c551e56c2b2894d01d748a6489f9fb4d1bd912 | |
parent | dm-integrity: Do not emit journal configuration in DM table for Inline mode (diff) | |
download | wireguard-linux-36e1b81f599a093ec7477e4593e110104adcfb96.tar.xz wireguard-linux-36e1b81f599a093ec7477e4593e110104adcfb96.zip |
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
Diffstat (limited to '')
-rw-r--r-- | drivers/md/dm-vdo/dedupe.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/dm-vdo/dedupe.c b/drivers/md/dm-vdo/dedupe.c index b6f8e2dc7729..3f3d29af1be4 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, |