From: Zhilong Liu Date: Mon, 20 Mar 2017 05:21:24 +0000 (+0800) Subject: mdadm/mdmon:deleted the abort_reshape never invoked X-Git-Tag: mdadm-4.1-rc1~252 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e81070a69bf0c6e20f95806b6c60f6ec5c952a20;p=thirdparty%2Fmdadm.git mdadm/mdmon:deleted the abort_reshape never invoked mdmon.c: abort_reshape() has implemented in Grow.c, this function doesn't make a lot of sense here. Signed-off-by: Zhilong Liu Signed-off-by: Jes Sorensen --- diff --git a/mdmon.c b/mdmon.c index e4b73d96..95e9bbae 100644 --- a/mdmon.c +++ b/mdmon.c @@ -580,11 +580,6 @@ int restore_stripes(int *dest, unsigned long long *offsets, return 1; } -void abort_reshape(struct mdinfo *sra) -{ - return; -} - int save_stripes(int *source, unsigned long long *offsets, int raid_disks, int chunk_size, int level, int layout, int nwrites, int *dest,