diff options
Diffstat (limited to 'Create.c')
-rw-r--r-- | Create.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -534,7 +534,7 @@ int Create(struct supertype *st, char *mddev, int mdfd, (1<<MD_DISK_SYNC); else info.disk.state = 0; - if (dv->writemostly) + if (dv->writemostly == 1) info.disk.state |= (1<<MD_DISK_WRITEMOSTLY); if (dnum == insert_point || |