Blame SOURCES/mdmon-Stop-bothering-about-md-get-version2.patch
|
|
b7f731 |
From 15d924d363a2bc02aa4a489241333be3d7820978 Mon Sep 17 00:00:00 2001
|
|
|
b7f731 |
From: Jes Sorensen <Jes.Sorensen@gmail.com>
|
|
|
b7f731 |
Date: Wed, 5 Apr 2017 15:39:51 -0400
|
|
|
b7f731 |
Subject: [RHEL7.5 PATCH 062/169] mdmon: Stop bothering about
|
|
|
b7f731 |
md_get_version()
|
|
|
b7f731 |
|
|
|
b7f731 |
If anyone has a kernel with md driver older than 0.90.03 they will
|
|
|
b7f731 |
also know where to find older versions of mdadm.
|
|
|
b7f731 |
|
|
|
b7f731 |
Signed-off-by: Jes Sorensen <Jes.Sorensen@gmail.com>
|
|
|
b7f731 |
---
|
|
|
b7f731 |
mdmon.c | 4 ----
|
|
|
b7f731 |
1 file changed, 4 deletions(-)
|
|
|
b7f731 |
|
|
|
b7f731 |
diff --git a/mdmon.c b/mdmon.c
|
|
|
b7f731 |
index 95e9bba..0955fcc 100644
|
|
|
b7f731 |
--- a/mdmon.c
|
|
|
b7f731 |
+++ b/mdmon.c
|
|
|
b7f731 |
@@ -408,10 +408,6 @@ static int mdmon(char *devnm, int must_fork, int takeover)
|
|
|
b7f731 |
pr_err("%s: %s\n", devnm, strerror(errno));
|
|
|
b7f731 |
return 1;
|
|
|
b7f731 |
}
|
|
|
b7f731 |
- if (md_get_version(mdfd) < 0) {
|
|
|
b7f731 |
- pr_err("%s: Not an md device\n", devnm);
|
|
|
b7f731 |
- return 1;
|
|
|
b7f731 |
- }
|
|
|
b7f731 |
|
|
|
b7f731 |
/* Fork, and have the child tell us when they are ready */
|
|
|
b7f731 |
if (must_fork) {
|
|
|
b7f731 |
--
|
|
|
b7f731 |
2.7.4
|
|
|
b7f731 |
|