diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2011-01-28 10:14:08 +0000 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2011-01-28 10:14:08 +0000 |
commit | 65fc4dae3aa55101025fcc8f88ef26235ecfb8be (patch) | |
tree | ecc768c6f42204c3f6527e1eb1d2c65484cb0539 /lib/uuid | |
parent | 3e3591904b3e87d5da9f451aa54280f303239efb (diff) | |
download | lvm2-65fc4dae3aa55101025fcc8f88ef26235ecfb8be.tar.gz |
Avoid rebuilding of uuid validation table
Small CPU relax...
Diffstat (limited to 'lib/uuid')
-rw-r--r-- | lib/uuid/uuid.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/uuid/uuid.c b/lib/uuid/uuid.c index e85e852c4..edcb1ba30 100644 --- a/lib/uuid/uuid.c +++ b/lib/uuid/uuid.c @@ -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++) |