]> sourceware.org Git - lvm2.git/commitdiff
Thin no device is created - so nothing to revert here
authorZdenek Kabelac <zkabelac@redhat.com>
Thu, 3 Nov 2011 15:46:51 +0000 (15:46 +0000)
committerZdenek Kabelac <zkabelac@redhat.com>
Thu, 3 Nov 2011 15:46:51 +0000 (15:46 +0000)
lib/metadata/lv_manip.c

index fdd4a752e06f8fe028b5067d3516e0ed013a107a..831e0c765f83fd297616753bbc7a6bf69759ebc0 100644 (file)
@@ -4114,10 +4114,8 @@ static struct logical_volume *_lv_create_an_lv(struct volume_group *vg, struct l
                                  lp->pool, vg->name);
                        return 0;
                }
-               if (!update_pool_lv(lvl->lv, 1)) {
-                       stack;
-                       goto revert_new_lv;
-               }
+               if (!update_pool_lv(lvl->lv, 1))
+                       return_0;
        }
 
        if (segtype_is_mirrored(lp->segtype) || segtype_is_raid(lp->segtype)) {
This page took 0.040722 seconds and 5 git commands to generate.