New API: set_uuid_random

Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
This commit is contained in:
Chen Hanxiao
2015-07-02 19:52:37 +08:00
committed by Pino Toscano
parent db9bd61585
commit a477e282db
8 changed files with 101 additions and 1 deletions

View File

@@ -159,6 +159,12 @@ do_set_e2uuid (const char *device, const char *uuid)
return 0;
}
int
ext_set_uuid_random (const char *device)
{
return do_set_e2uuid (device, "random");
}
char *
do_get_e2uuid (const char *device)
{