Skip to contentSkip to conversation

master - release: prepare for release

PATCH Alasdair Kergon 1 participant 1 message Oct 15, 2012

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=ea6a8078b41df75344aecff4c54aab9c78b67193
Commit:        ea6a8078b41df75344aecff4c54aab9c78b67193
Parent:        5afa2ffcaaa69925673b1c0c82ebb3c1f66b1906
Author:        Alasdair G Kergon <[email protected]>
AuthorDate:    Mon Oct 15 15:19:32 2012 +0100
Committer:     Alasdair G Kergon <[email protected]>
CommitterDate: Mon Oct 15 15:19:32 2012 +0100

release: prepare for release

---
 VERSION          |    2 +-
 VERSION_DM       |    2 +-
 WHATS_NEW        |   41 ++++++++++++++++++++++++-----------------
 WHATS_NEW_DM     |    6 +++---
 tools/lvcreate.c |   12 +++++-------
 5 files changed, 34 insertions(+), 29 deletions(-)
VERSION +1 -1
index 33b5cee..246867e 100644
@@ -1 +1 @@
-2.02.98(2)-git (2012-08-24)
+2.02.98(2)-git (2012-10-15)
VERSION_DM +1 -1
index 171ac28..bb267d5 100644
@@ -1 +1 @@
-1.02.77-git (2012-08-24)
+1.02.77-git (2012-10-15)
WHATS_NEW +24 -17

89 lines not on this page · raw message

WHATS_NEW_DM +3 -3
index 342605f..2d0b05c 100644
@@ -1,12 +1,12 @@
-Version 1.02.77 -
-=================================
+Version 1.02.77 - 15th October 2012
+===================================
   Support unmount of thin volumes from pool above thin pool threshold.
   Update man page to reflect that dm UUIDs are being mangled as well.
   Apply 'dmsetup mangle' for dm UUIDs besides dm names.
   Add 'mangled_uuid' and 'unmangled_uuid' fields to dmsetup info -c -o.
   Mangle device UUID on dm_task_set_uuid/newuuid call if necessary.
   Add dm_task_get_uuid_mangled/unmangled to libdevmapper.
-  Always reset delay_resume_if_new flag when stacking thin pool.
+  Always reset delay_resume_if_new flag when stacking thin pool over anything.
   Don't create value for dm_config_node and require dm_config_create_value call.
   Check for existing new_name for dmsetup rename.
   Fix memory leak in dmsetup _get_split_name() error path.
tools/lvcreate.c +5 -7
index 55b6a2c..3ea8f46 100644
@@ -819,9 +819,9 @@ static int _lvcreate_params(struct lvcreate_params *lp,
 	    !_read_raid_params(lp, cmd))
 		return_0;
 
-	if (lp->create_thin_pool) {
+	if (lp->create_thin_pool)
 		lp->discards = (thin_discards_t) arg_uint_value(cmd, discards_ARG, THIN_DISCARDS_PASSDOWN);
-	} else if (arg_count(cmd, discards_ARG)) {
+	else if (arg_count(cmd, discards_ARG)) {
 		log_error("--discards is only available for thin pool creation.");
 		return 0;
 	}
@@ -872,11 +872,9 @@ static int _lvcreate_params(struct lvcreate_params *lp,
 
 		if (!lp->thin && lp->snapshot && !(lp->segtype = get_segtype_from_string(cmd, "snapshot")))
 			return_0;
-	} else {
-		if (arg_count(cmd, chunksize_ARG)) {
-			log_error("-c is only available with snapshots and thin pools");
-			return 0;
-		}
+	} else if (arg_count(cmd, chunksize_ARG)) {
+		log_error("-c is only available with snapshots and thin pools");
+		return 0;
 	}
 
 	/*