diff options
author | Neil Brown <neilb@suse.de> | 2002-03-15 05:21:36 +0000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2002-03-15 05:21:36 +0000 |
commit | 56eb10c0b6e8f21540af444c8a28aa9e8f138ce6 (patch) | |
tree | 3b791ce573cca8c746f318411cb63d8c677678a1 /Create.c | |
parent | 9a9dab3670110c2db7fe6f716977b72adedbf855 (diff) | |
download | mdadm-56eb10c0b6e8f21540af444c8a28aa9e8f138ce6.tar.gz mdadm-56eb10c0b6e8f21540af444c8a28aa9e8f138ce6.tar.xz mdadm-56eb10c0b6e8f21540af444c8a28aa9e8f138ce6.zip |
mdadm-0.7.1mdadm-0.7.1
Diffstat (limited to 'Create.c')
-rw-r--r-- | Create.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -193,7 +193,7 @@ int Create(char *mddev, int mdfd, if (verbose && level>0) fprintf(stderr, Name ": size set to %dK\n", size); } - if ((maxsize-size)*100 > maxsize) { + if (level >= 1 && ((maxsize-size)*100 > maxsize)) { fprintf(stderr, Name ": largest drive (%s) exceed size (%dK) by more than 1%\n", maxdisc, size); warn = 1; |