]> sourceware.org Git - lvm2.git/commitdiff
Drop old check for transaction_id
authorZdenek Kabelac <zkabelac@redhat.com>
Mon, 17 Oct 2011 14:14:33 +0000 (14:14 +0000)
committerZdenek Kabelac <zkabelac@redhat.com>
Mon, 17 Oct 2011 14:14:33 +0000 (14:14 +0000)
(revert)

libdm/libdm-deptree.c

index 9cadfc64db52eca028d8cfaed0880c3436ec8066..157f30f01f0661f75f4deb359edd6ea52f1944dc 100644 (file)
@@ -1512,18 +1512,6 @@ int dm_tree_activate_children(struct dm_tree_node *dnode,
 
                        /* Update cached info */
                        child->info = newinfo;
-
-                       /* FIXME: trial version - to avoid use of unsynchronized thin_pool transaction_id */
-                       if (child->props.thin_pool_transaction_id &&
-                           !_check_thin_pool_transaction_id(child->name, child->info.major,
-                                                            child->info.minor,
-                                                            child->props.thin_pool_transaction_id)) {
-                               stack;
-                               if (!(dm_tree_deactivate_children(child, uuid_prefix, uuid_prefix_len)))
-                                       log_error("Failed to deactivate %s", child->name);
-                               r = 0;
-                               continue;
-                       }
                }
        }
 
@@ -2207,18 +2195,6 @@ int dm_tree_preload_children(struct dm_tree_node *dnode,
                 */
                if (child->props.immediate_dev_node)
                        update_devs_flag = 1;
-
-               /* FIXME: trial version - to avoid use of unsynchronized thin_pool transaction_id */
-               if (child->props.thin_pool_transaction_id &&
-                   !_check_thin_pool_transaction_id(child->name, child->info.major,
-                                                    child->info.minor,
-                                                    child->props.thin_pool_transaction_id)) {
-                       stack;
-                       if (!(dm_tree_deactivate_children(child, uuid_prefix, uuid_prefix_len)))
-                               log_error("Failed to deactivate %s", child->name);
-                       r = 0;
-                       continue;
-               }
        }
 
        handle = NULL;
This page took 1.413951 seconds and 5 git commands to generate.