search for: uuid_be_gen

Displaying 1 result from an estimated 1 matches for "uuid_be_gen".

2012 Oct 29
5
Re: [PATCH 2/9] uuid: use random32_get_bytes()
...ate, well, non-unique UUID''s, the results can range anywhere from confusion, to file system corruption and data loss. Fortunately, there is only one user of lib/uuid.c, and that''s the btrfs file system. Chris and the Btrfs folks --- my recommendation would be to ditch the use of uuid_be_gen, "git rm lib/uuid.c" with extreme prejudice, and use generate_random_uuid() which was coded over a decade ago in drivers/char/random.c. Not only does this properly use the kernel random number generator, but it also creates a UUID with the correct format. (It''s not enough to se...