dcavalca / rpms / mdadm

Forked from rpms/mdadm 3 years ago
Clone

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

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