diff options
author | NeilBrown <neilb@suse.de> | 2015-07-16 03:55:27 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2015-07-16 04:07:54 +0200 |
commit | ad1a3c2f082d90ff050fd089496732f1371900ab (patch) | |
tree | db8fd21dc0e476342fcb8630172ae3c1d9c9967f /restripe.c | |
parent | raid6check: get device ordering correct for syndrome calculation. (diff) | |
download | mdadm-ad1a3c2f082d90ff050fd089496732f1371900ab.tar.xz mdadm-ad1a3c2f082d90ff050fd089496732f1371900ab.zip |
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... */ |