View | Details | Raw Unified | Return to bug 146514
Collapse All | Expand All

(-)mdadm-2.2.orig/Assemble.c (-1 / +1 lines)
Lines 219-225 int Assemble(struct supertype *st, char Link Here
219
		}
219
		}
220
		if (dfd >= 0) close(dfd);
220
		if (dfd >= 0) close(dfd);
221
221
222
		if (ident->uuid_set && (!update && strcmp(update, "uuid")!= 0) &&
222
		if (ident->uuid_set && (update && strcmp(update, "uuid")!= 0) &&
223
		    (!super || same_uuid(info.uuid, ident->uuid, tst->ss->swapuuid)==0)) {
223
		    (!super || same_uuid(info.uuid, ident->uuid, tst->ss->swapuuid)==0)) {
224
			if ((inargv && verbose >= 0) || verbose > 0)
224
			if ((inargv && verbose >= 0) || verbose > 0)
225
				fprintf(stderr, Name ": %s has wrong uuid.\n",
225
				fprintf(stderr, Name ": %s has wrong uuid.\n",

Return to bug 146514