diff options
author | Neil Brown <neilb@suse.de> | 2006-05-16 06:05:27 +0000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2006-05-16 06:05:27 +0000 |
commit | 8131b493df02ad22c8600f4c99d97003a807e5a7 (patch) | |
tree | 36569355b1b93688767a229090c721763c652aa2 /Assemble.c | |
parent | 98b24a2afa11d56a9a93a72736cd080224aa1b50 (diff) | |
download | mdadm-8131b493df02ad22c8600f4c99d97003a807e5a7.tar.gz mdadm-8131b493df02ad22c8600f4c99d97003a807e5a7.tar.xz mdadm-8131b493df02ad22c8600f4c99d97003a807e5a7.zip |
When updating uuid, update the bitmap as well - external bitmaps
Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'Assemble.c')
-rw-r--r-- | Assemble.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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) |