mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
586b56b18c
In all top vg read functions only LCK_VG_READ/WRITE can be used. All other vg lock definitions are low-level backend machinery. Moreover, LCK_WRITE cannot be tested through bitmask. This patch fixes these mistakes. For _recover_vg() we do not need lock_flags, it can be only two of above and we always upgrading to LCK_VG_WRITE lock there. (N.B. that code is racy) There is no functional change in code (despite wrong masking it produces correct bits:-) |
||
---|---|---|
.. | ||
clvm.h | ||
clvmd-cman.c | ||
clvmd-command.c | ||
clvmd-common.h | ||
clvmd-comms.h | ||
clvmd-corosync.c | ||
clvmd-gulm.c | ||
clvmd-gulm.h | ||
clvmd-openais.c | ||
clvmd-singlenode.c | ||
clvmd.c | ||
clvmd.h | ||
lvm-functions.c | ||
lvm-functions.h | ||
Makefile.in | ||
refresh_clvmd.c | ||
refresh_clvmd.h | ||
tcp-comms.c | ||
tcp-comms.h |