summaryrefslogtreecommitdiffstats
path: root/super1.c
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2006-05-23 04:51:39 +0000
committerNeil Brown <neilb@suse.de>2006-05-23 04:51:39 +0000
commite5eac01f3d52ceb932445f90c0aaa86f244e26e7 (patch)
tree39087cb96cd11788707b2fba41683ac6140f2e06 /super1.c
parenta1cbd7d053e034bbfcf337bc9ee7b92ec4c6f6c0 (diff)
downloadmdadm-e5eac01f3d52ceb932445f90c0aaa86f244e26e7.tar.gz
mdadm-e5eac01f3d52ceb932445f90c0aaa86f244e26e7.tar.xz
mdadm-e5eac01f3d52ceb932445f90c0aaa86f244e26e7.zip
Make sure homehost is set correctly when --update=uuid
Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'super1.c')
-rw-r--r--super1.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/super1.c b/super1.c
index b1ea298..533929a 100644
--- a/super1.c
+++ b/super1.c
@@ -434,7 +434,9 @@ static void getinfo_super1(struct mdinfo *info, void *sbv)
info->array.working_disks = working;
}
-static int update_super1(struct mdinfo *info, void *sbv, char *update, char *devname, int verbose)
+static int update_super1(struct mdinfo *info, void *sbv, char *update,
+ char *devname, int verbose,
+ int uuid_set, char *homehost)
{
/* NOTE: for 'assemble' and 'force' we need to return non-zero if any change was made.
* For others, the return value is ignored.