Skip to content

incusd/storage: Fix potential deadlock - #3136

Merged
hallyn merged 1 commit into
lxc:mainfrom
stgraber:storage
Apr 1, 2026
Merged

hallyn merged 1 commit into
lxc:mainfrom
stgraber:storage

Conversation

@stgraber

@stgraber stgraber commented Apr 1, 2026

Copy link
Copy Markdown
Member

Don't use defer to unlock the read lock when the same code path can call back the parent logic causing a deadlock.

Don't use defer to unlock the read lock when the same code path can call
back the parent logic causing a deadlock.

Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
@hallyn
hallyn merged commit 2d5060d into lxc:main Apr 1, 2026
54 of 56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants