Skip to content

Commit

Permalink
dm vdo: add missing spin_lock_init
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Ken Raeburn authored and Mikulas Patocka committed Feb 24, 2025
1 parent c19525b commit 36e1b81
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/md/dm-vdo/dedupe.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 36e1b81

Please sign in to comment.