From 19678e536d5b7aba8b721a3065f2550b79ddd208 Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Tue, 14 Jul 2009 12:13:29 +1000 Subject: Grow: pass layout as a string rather than a number. This allows the layout to be parsed after the current level of the array is know, so that the level doesn't need to be given (otherwise pointlessly) on the command line. Signed-off-by: NeilBrown --- mdadm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mdadm.h') diff --git a/mdadm.h b/mdadm.h index 170c24b..b2dd730 100644 --- a/mdadm.h +++ b/mdadm.h @@ -714,7 +714,7 @@ extern int Grow_Add_device(char *devname, int fd, char *newdev); extern int Grow_addbitmap(char *devname, int fd, char *file, int chunk, int delay, int write_behind, int force); extern int Grow_reshape(char *devname, int fd, int quiet, char *backup_file, long long size, - int level, int layout, int chunksize, int raid_disks); + int level, char *layout_str, int chunksize, int raid_disks); extern int Grow_restart(struct supertype *st, struct mdinfo *info, int *fdlist, int cnt, char *backup_file); -- cgit