1
0
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:
Petr Rockai 2013-10-09 22:19:51 +02:00
parent b5aad86710
commit cb613d4c10

View File

@ -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);