r134 - in devmapper/upstream/current: . dmsetup

Bastian Blank waldi at costa.debian.org
Sat Aug 13 10:39:32 UTC 2005


Author: waldi
Date: Sat Aug 13 10:39:30 2005
New Revision: 134

Modified:
   devmapper/upstream/current/VERSION
   devmapper/upstream/current/WHATS_NEW
   devmapper/upstream/current/dmsetup/dmsetup.c
Log:
Load device-mapper.1.01.04 into devmapper/upstream/current.


Modified: devmapper/upstream/current/VERSION
==============================================================================
--- devmapper/upstream/current/VERSION	(original)
+++ devmapper/upstream/current/VERSION	Sat Aug 13 10:39:30 2005
@@ -1 +1 @@
-1.01.03 (2005-06-13)
+1.01.04 (2005-08-02)

Modified: devmapper/upstream/current/WHATS_NEW
==============================================================================
--- devmapper/upstream/current/WHATS_NEW	(original)
+++ devmapper/upstream/current/WHATS_NEW	Sat Aug 13 10:39:30 2005
@@ -1,3 +1,7 @@
+Version 1.01.04 - 2 Aug 2005
+=============================
+  Fix dmsetup ls -j and status --target with empty table.
+
 Version 1.01.03 - 13 Jun 2005
 =============================
   Use matchpathcon mode parameter.

Modified: devmapper/upstream/current/dmsetup/dmsetup.c
==============================================================================
--- devmapper/upstream/current/dmsetup/dmsetup.c	(original)
+++ devmapper/upstream/current/dmsetup/dmsetup.c	Sat Aug 13 10:39:30 2005
@@ -757,13 +757,16 @@
 	if (!dm_task_run(dmt))
 		goto out;
 
+	if (!name)
+		name = (char *) dm_task_get_name(dmt);
+
 	/* Fetch targets and print 'em */
 	do {
 		next = dm_get_next_target(dmt, next, &start, &length,
 					  &target_type, &params);
 		/* Skip if target type doesn't match */
-		if (_switches[TARGET_ARG] && target_type &&
-		    strcmp(target_type, _target))
+		if (_switches[TARGET_ARG] &&
+		    (!target_type || strcmp(target_type, _target)))
 			continue;
 		if (ls_only) {
 			if (!_switches[EXEC_ARG] || !_command ||



More information about the pkg-lvm-commits mailing list