diff options
author | NeilBrown <neilb@suse.de> | 2015-07-16 11:55:27 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2015-07-16 12:07:54 +1000 |
commit | ad1a3c2f082d90ff050fd089496732f1371900ab (patch) | |
tree | db8fd21dc0e476342fcb8630172ae3c1d9c9967f /restripe.c | |
parent | 76cd79d3d19917a3d1b08310b7351f22c16e42ab (diff) | |
download | mdadm-ad1a3c2f082d90ff050fd089496732f1371900ab.tar.gz |
raid6check
fix checking of DDF layouts.
Stuff probably still broken.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'restripe.c')
-rw-r--r-- | restripe.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -194,7 +194,8 @@ int geo_map(int block, unsigned long long stripe, int raid_disks, } return -1; } -static int is_ddf(int layout) + +int is_ddf(int layout) { switch (layout) { @@ -883,7 +884,7 @@ unsigned long long getnum(char *str, char **err) } char const Name[] = "test_restripe"; -main(int argc, char *argv[]) +int main(int argc, char *argv[]) { /* save/restore file raid_disks chunk_size level layout start length devices... */ |