diff options
author | Joe Thornber <thornber@redhat.com> | 2002-01-15 10:24:48 +0000 |
---|---|---|
committer | Joe Thornber <thornber@redhat.com> | 2002-01-15 10:24:48 +0000 |
commit | 6036e5e0f72220645c6e7f1ce49baa3185a4302c (patch) | |
tree | 599e36d6d5c08c4d1f65435eae7202bbadcce4cd /lib/uuid/uuid.c | |
parent | c9dbb9efe7538286f9f93151cd477ff6ccd3af68 (diff) | |
download | lvm2-6036e5e0f72220645c6e7f1ce49baa3185a4302c.tar.gz lvm2-6036e5e0f72220645c6e7f1ce49baa3185a4302c.tar.xz lvm2-6036e5e0f72220645c6e7f1ce49baa3185a4302c.zip |
o split the uuid -> device map out from vgcache
o roll vgcache back to agk's implementation, we'll revisit this as part
of the cluster integration.
o change the extra_info field in a label to be a void *
Diffstat (limited to 'lib/uuid/uuid.c')
-rw-r--r-- | lib/uuid/uuid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/uuid/uuid.c b/lib/uuid/uuid.c index e6f09e8d..4d1c9abc 100644 --- a/lib/uuid/uuid.c +++ b/lib/uuid/uuid.c @@ -75,9 +75,9 @@ int id_valid(struct id *id) return 1; } -int id_cmp(struct id *lhs, struct id *rhs) +int id_equal(struct id *lhs, struct id *rhs) { - return memcmp(lhs->uuid, rhs->uuid, sizeof(lhs->uuid)); + return !memcmp(lhs->uuid, rhs->uuid, sizeof(lhs->uuid)); } #define GROUPS (ID_LEN / 4) |