From 8131b493df02ad22c8600f4c99d97003a807e5a7 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Tue, 16 May 2006 06:05:27 +0000 Subject: When updating uuid, update the bitmap as well - external bitmaps Signed-off-by: Neil Brown --- Assemble.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Assemble.c') diff --git a/Assemble.c b/Assemble.c index a856456..897c33f 100644 --- a/Assemble.c +++ b/Assemble.c @@ -308,6 +308,10 @@ int Assemble(struct supertype *st, char *mddev, int mdfd, devname); if (dfd >= 0) close(dfd); + + if (strcmp(update, "uuid")==0 && + ident->bitmap_fd) + bitmap_update_uuid(ident->bitmap_fd, info.uuid); } if (verbose > 0) -- cgit