]> sourceware.org Git - lvm2.git/commitdiff
Avoid rebuilding of uuid validation table
authorZdenek Kabelac <zkabelac@redhat.com>
Fri, 28 Jan 2011 10:14:08 +0000 (10:14 +0000)
committerZdenek Kabelac <zkabelac@redhat.com>
Fri, 28 Jan 2011 10:14:08 +0000 (10:14 +0000)
Small CPU relax...

WHATS_NEW
lib/uuid/uuid.c

index 1ab991b16a286bae0e1901f78d0387e426fbe536..cbebc88f18377c2bc5d818fb8af0c5e329945526 100644 (file)
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -1,5 +1,6 @@
 Version 2.02.83 - 
 ===================================
+  Avoid rebuilding of uuid validation table.
   Always use O_DIRECT when opening block devices to check for partitioning.
   Improve lvcreate "insufficient extents" errors to "insufficient free space".
 
index e85e852c4af48af83869ee6b7bed8f065f38da34..edcb1ba30f7a581f760a3b491f9cc64d63c84f38 100644 (file)
@@ -125,6 +125,7 @@ static void _build_inverse(void)
        if (_built_inverse)
                return;
 
+       _built_inverse = 1;
        memset(_inverse_c, 0, sizeof(_inverse_c));
 
        for (ptr = _c; *ptr; ptr++)
This page took 0.043531 seconds and 5 git commands to generate.