]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super1.c
Introduce random_uuid() helper function
authorJes Sorensen <Jes.Sorensen@redhat.com>
Mon, 15 Aug 2016 19:41:34 +0000 (15:41 -0400)
committerJes Sorensen <Jes.Sorensen@redhat.com>
Mon, 15 Aug 2016 19:41:34 +0000 (15:41 -0400)
commitc5f71c2417a53e097f6556e99027b7249d116a78
treeb64dced365a9998f7953d5b95009213aff48c6f1
parent977d12d739deedd21ea3ca5a96d0ffd83bd5b4ea
Introduce random_uuid() helper function

This gets rid of 5 nearly identical copies of the same code, and
reduces the binary size of mdadm by over 700 bytes on x86_64.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Assemble.c
mdadm.h
super1.c
util.c