Message ID | 8cb7d0b05fa3b51d9923a05d1aeb213f28ba5eeb.1707184413.git.msakai@redhat.com (mailing list archive) |
---|---|
State | Accepted, archived |
Delegated to: | Mike Snitzer |
Headers | show |
Series | dm vdo: fix sparse warnings | expand |
diff --git a/drivers/md/dm-vdo/dedupe.c b/drivers/md/dm-vdo/dedupe.c index 8533f1669a01..4b00135511dd 100644 --- a/drivers/md/dm-vdo/dedupe.c +++ b/drivers/md/dm-vdo/dedupe.c @@ -2092,6 +2092,7 @@ static void finish_uds_queue(void *ptr __always_unused) } static void close_index(struct hash_zones *zones) + __must_hold(&zones->lock) { int result; @@ -2113,6 +2114,7 @@ static void close_index(struct hash_zones *zones) } static void open_index(struct hash_zones *zones) + __must_hold(&zones->lock) { /* ASSERTION: We enter in IS_CLOSED state. */ int result;