diff options
author | Neil Brown <neilb@suse.de> | 2005-06-08 01:03:46 +0200 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2005-06-08 01:03:46 +0200 |
commit | ea32955930cc63d2fa445ff00437f5f767f7a4af (patch) | |
tree | 2778cbed10cdee740eea76dde1ab2f18f2ee6a09 /Grow.c | |
parent | Assorted fixes for bitmap related stuff (diff) | |
download | mdadm-ea32955930cc63d2fa445ff00437f5f767f7a4af.tar.xz mdadm-ea32955930cc63d2fa445ff00437f5f767f7a4af.zip |
Increase max-devs on type-1 superblocks
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Diffstat (limited to 'Grow.c')
-rw-r--r-- | Grow.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -236,7 +236,7 @@ int Grow_addbitmap(char *devname, int fd, char *file, int chunk, int delay) } if (strcmp(file, "internal") == 0) { int d; - for (d=0; d< MD_SB_DISKS; d++) { + for (d=0; d< st->max_devs; d++) { mdu_disk_info_t disk; char *dv; disk.number = d; |