mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 13:38:01 +00:00
opr: export uuid packing routines in the kernel
these are actually kernel-safe. allow their use Change-Id: Id0b9e21701dcdf7e43f75a5a9b240cb7579a8d7b Reviewed-on: http://gerrit.openafs.org/8044 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
This commit is contained in:
parent
d01ef1ccfb
commit
b9a10641dd
@ -118,6 +118,8 @@ opr_uuid_fromString(opr_uuid_t *uuid, const char *string)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
void
|
void
|
||||||
opr_uuid_pack(opr_uuid_t *uuid, const struct opr_uuid_unpacked *raw)
|
opr_uuid_pack(opr_uuid_t *uuid, const struct opr_uuid_unpacked *raw)
|
||||||
{
|
{
|
||||||
@ -160,4 +162,3 @@ opr_uuid_unpack(const opr_uuid_t *uuid, struct opr_uuid_unpacked *raw)
|
|||||||
memcpy(&raw->node, &uuid->data[10], 6);
|
memcpy(&raw->node, &uuid->data[10], 6);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user