]> TLD Linux GIT Repositories - packages/lvm2.git/blobdiff - device-mapper-dmsetup-deps-export.patch
- updated to 2.03.15
[packages/lvm2.git] / device-mapper-dmsetup-deps-export.patch
index fbf59e359a57563c172efa688a282f24672d5ec5..bace4d3792f0da0c583e5093c3611384aec7ae8e 100644 (file)
@@ -1,14 +1,7 @@
----
- tools/dmsetup.c |   23 +++++++++++++++++++++++
- 1 file changed, 23 insertions(+)
-
-Index: LVM2.2.02.98/tools/dmsetup.c
-===================================================================
---- LVM2.2.02.98.orig/tools/dmsetup.c
-+++ LVM2.2.02.98/tools/dmsetup.c
-@@ -1717,10 +1717,11 @@ static int _export(CMD_ARGS)
-       char *target_type = NULL;
-       char *params;
+diff -ur LVM2.2.03.02.orig/libdm/dm-tools/dmsetup.c LVM2.2.03.02/libdm/dm-tools/dmsetup.c
+--- LVM2.2.03.02.orig/libdm/dm-tools/dmsetup.c 2019-03-22 17:08:18.345000000 +0100
++++ LVM2.2.03.02/libdm/dm-tools/dmsetup.c      2019-03-22 17:09:27.125000000 +0100
+@@ -2562,6 +2562,7 @@
        const char *name = NULL;
        const char *uuid = NULL;
        struct dm_info info;
@@ -16,11 +9,7 @@ Index: LVM2.2.02.98/tools/dmsetup.c
  
        if (names)
                name = names->name;
-       else if (argc == 2)
-               name = argv[1];
-@@ -1786,10 +1787,32 @@ static int _export(CMD_ARGS)
-                               printf(",%s", target_type);
-               }
+@@ -2631,6 +2632,28 @@
                printf("\n");
        }
  
@@ -49,5 +38,3 @@ Index: LVM2.2.02.98/tools/dmsetup.c
        r = 1;
        out:
        if (dmt)
-               dm_task_destroy(dmt);
-       return r;