summaryrefslogtreecommitdiffstats
path: root/WHATS_NEW
diff options
context:
space:
mode:
authorMilan Broz <mbroz@redhat.com>2010-08-19 23:26:31 +0000
committerMilan Broz <mbroz@redhat.com>2010-08-19 23:26:31 +0000
commit586b56b18cd89d75bb3bebbea3f78f9737ac0af9 (patch)
tree823fbc6d84c559c199042d38eb645569b2c75d27 /WHATS_NEW
parent727f7bfa4995b79c16f836f14eea98404bb9e213 (diff)
downloadlvm2-586b56b18cd89d75bb3bebbea3f78f9737ac0af9.tar.gz
lvm2-586b56b18cd89d75bb3bebbea3f78f9737ac0af9.tar.xz
lvm2-586b56b18cd89d75bb3bebbea3f78f9737ac0af9.zip
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:-)
Diffstat (limited to 'WHATS_NEW')
-rw-r--r--WHATS_NEW1
1 files changed, 1 insertions, 0 deletions
diff --git a/WHATS_NEW b/WHATS_NEW
index 848b696a..20bdeb0c 100644
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -4,6 +4,7 @@ Version 2.02.74 -
Remove assumption that --yes must be used only in --force mode.
Fix file descriptor leak in swap signature detection error path.
Detect and allow abort in pvcreate if LUKS signature is detected.
+ Use proper locks mask when checking for LCK_WRITE.
Version 2.02.73 - 18th August 2010
==================================