1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 03:27:58 +03:00
lvm2/daemons
Milan Broz 586b56b18c Fix wrong use of LCK_WRITE
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:-)
2010-08-19 23:26:31 +00:00
..
clvmd Fix wrong use of LCK_WRITE 2010-08-19 23:26:31 +00:00
cmirrord Fix for bug 596453: multiple mirror image failures cause lvm repair... 2010-08-17 23:56:23 +00:00
dmeventd Various small cleanups and fixes related to monitoring. 2010-08-16 22:54:35 +00:00
Makefile.in Use vpath instead of VPATH. 2010-04-09 21:34:25 +00:00