mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
lvmetad: Fix a possible deadlock in pv_clear_all.
This commit is contained in:
parent
b5aad86710
commit
cb613d4c10
@ -829,8 +829,8 @@ static response pv_clear_all(lvmetad_state *s, request r)
|
||||
DEBUGLOG(s, "pv_clear_all");
|
||||
|
||||
lock_pvid_to_pvmeta(s);
|
||||
lock_vgid_to_metadata(s);
|
||||
lock_pvid_to_vgid(s);
|
||||
lock_vgid_to_metadata(s);
|
||||
|
||||
destroy_metadata_hashes(s);
|
||||
create_metadata_hashes(s);
|
||||
|
Loading…
Reference in New Issue
Block a user