]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
mdadm/mdmon:deleted the abort_reshape never invoked
authorZhilong Liu <zlliu@suse.com>
Mon, 20 Mar 2017 05:21:24 +0000 (13:21 +0800)
committerJes Sorensen <Jes.Sorensen@gmail.com>
Mon, 27 Mar 2017 22:16:19 +0000 (18:16 -0400)
mdmon.c: abort_reshape() has implemented in Grow.c,
this function doesn't make a lot of sense here.

Signed-off-by: Zhilong Liu <zlliu@suse.com>
Signed-off-by: Jes Sorensen <Jes.Sorensen@gmail.com>
mdmon.c

diff --git a/mdmon.c b/mdmon.c
index e4b73d96b96c6482df7915daeb03b67b580f93fd..95e9bbae42a606d3435a97c71a52b73bff8b4591 100644 (file)
--- 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,