projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c19525b
)
dm vdo: add missing spin_lock_init
author
Ken Raeburn
<raeburn@redhat.com>
Wed, 19 Feb 2025 22:56:00 +0000
(17:56 -0500)
committer
Mikulas Patocka
<mpatocka@redhat.com>
Mon, 24 Feb 2025 11:07:02 +0000
(12:07 +0100)
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
drivers/md/dm-vdo/dedupe.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/md/dm-vdo/dedupe.c
b/drivers/md/dm-vdo/dedupe.c
index b6f8e2dc7729fbf9b71f01998e3cda6c7d31b98e..3f3d29af1be474f67d62ed5346fc958bb9d0d87e 100644
(file)
--- 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,