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:
Derrick Brashear 2012-09-05 13:41:48 -04:00 committed by Jeffrey Altman
parent d01ef1ccfb
commit b9a10641dd

View File

@ -118,6 +118,8 @@ opr_uuid_fromString(opr_uuid_t *uuid, const char *string)
return 0;
}
#endif
void
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);
}
#endif