summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2005-01-19 18:10:09 +0000
committerAlasdair Kergon <agk@redhat.com>2005-01-19 18:10:09 +0000
commitfdc49402ecc22e170b6ed6cb451087382d039943 (patch)
treefd634eabe5352b4a013c9239b4ae11b6fdbb12a4
parent5457c133e1f617d76338e1fdf6bf77064d970646 (diff)
downloadlvm2-2_01_01.tar.gz
fix clvmd lv_info_by_lvid open_countv2_01_01old-v2_01_01
-rw-r--r--VERSION2
-rw-r--r--WHATS_NEW3
-rw-r--r--daemons/clvmd/lvm-functions.c6
3 files changed, 6 insertions, 5 deletions
diff --git a/VERSION b/VERSION
index 6cc4ad7c0..d1fe2707f 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-2.01.01-cvs (2005-01-17)
+2.01.01-cvs (2005-01-19)
diff --git a/WHATS_NEW b/WHATS_NEW
index fe1fa5807..e2d87baaa 100644
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -1,5 +1,6 @@
-Version 2.01.01 -
+Version 2.01.01 - 19th January 2005
===================================
+ Fix clvmd lv_info_by_lvid open_count.
Store snapshot and origin sizes separately.
Update vgcreate man page.
diff --git a/daemons/clvmd/lvm-functions.c b/daemons/clvmd/lvm-functions.c
index 4e99cd32b..0aebde54e 100644
--- a/daemons/clvmd/lvm-functions.c
+++ b/daemons/clvmd/lvm-functions.c
@@ -198,7 +198,7 @@ static int do_activate_lv(char *resource, int mode)
return errno;
/* If it's suspended then resume it */
- if (!lv_info_by_lvid(cmd, resource, &lvi))
+ if (!lv_info_by_lvid(cmd, resource, &lvi, 0))
return EIO;
if (lvi.suspended)
@@ -244,7 +244,7 @@ static int do_suspend_lv(char *resource)
}
/* Only suspend it if it exists */
- if (!lv_info_by_lvid(cmd, resource, &lvi))
+ if (!lv_info_by_lvid(cmd, resource, &lvi, 0))
return EIO;
if (lvi.exists) {
@@ -363,7 +363,7 @@ int post_lock_lv(unsigned char command, unsigned char lock_flags,
if (oldmode == LKM_PWMODE) {
struct lvinfo lvi;
- if (!lv_info_by_lvid(cmd, resource, &lvi))
+ if (!lv_info_by_lvid(cmd, resource, &lvi, 0))
return EIO;
if (lvi.exists) {