dcavalca / rpms / mdadm

Forked from rpms/mdadm 3 years ago
Clone

Blame SOURCES/mdadm-mdmon-deleted-the-abort_reshape-never-invoked.patch

2c1b57
From e81070a69bf0c6e20f95806b6c60f6ec5c952a20 Mon Sep 17 00:00:00 2001
2c1b57
From: Zhilong Liu <zlliu@suse.com>
2c1b57
Date: Mon, 20 Mar 2017 13:21:24 +0800
2c1b57
Subject: [RHEL7.5 PATCH 013/169] mdadm/mdmon:deleted the abort_reshape
2c1b57
 never invoked
2c1b57
2c1b57
mdmon.c: abort_reshape() has implemented in Grow.c,
2c1b57
this function doesn't make a lot of sense here.
2c1b57
2c1b57
Signed-off-by: Zhilong Liu <zlliu@suse.com>
2c1b57
Signed-off-by: Jes Sorensen <Jes.Sorensen@gmail.com>
2c1b57
---
2c1b57
 mdmon.c | 5 -----
2c1b57
 1 file changed, 5 deletions(-)
2c1b57
2c1b57
diff --git a/mdmon.c b/mdmon.c
2c1b57
index e4b73d9..95e9bba 100644
2c1b57
--- a/mdmon.c
2c1b57
+++ b/mdmon.c
2c1b57
@@ -580,11 +580,6 @@ int restore_stripes(int *dest, unsigned long long *offsets,
2c1b57
 	return 1;
2c1b57
 }
2c1b57
 
2c1b57
-void abort_reshape(struct mdinfo *sra)
2c1b57
-{
2c1b57
-	return;
2c1b57
-}
2c1b57
-
2c1b57
 int save_stripes(int *source, unsigned long long *offsets,
2c1b57
 		 int raid_disks, int chunk_size, int level, int layout,
2c1b57
 		 int nwrites, int *dest,
2c1b57
-- 
2c1b57
2.7.4
2c1b57