]> git.ipfire.org Git - thirdparty/mdadm.git/commit
mdadm: super0: do not override uuid with homehost
authorMichael Tokarev <mjt@tls.msk.ru>
Sat, 20 Oct 2012 11:40:02 +0000 (15:40 +0400)
committerNeilBrown <neilb@suse.de>
Sun, 21 Oct 2012 23:30:13 +0000 (10:30 +1100)
commit3713633a30349773a83bd8257cdd64b86ce32dbd
treeea691069d450fbaa90867284e08ae290d7ea2907
parent9ff1427837d2691b28f9f02721c32c1af97faa64
mdadm: super0: do not override uuid with homehost

When --uuid is specified in the command line, even for v0.90
superblock we override last portion of uuid with data from
--homehost, which is wrong (and disagrees with the manpage).
Only use homehost in super0 if no uuid is specified.

Signed-off-By: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: NeilBrown <neilb@suse.de>
super0.c