diff options
author | Jes Sorensen <Jes.Sorensen@gmail.com> | 2017-04-05 21:39:51 +0200 |
---|---|---|
committer | Jes Sorensen <Jes.Sorensen@gmail.com> | 2017-04-05 21:39:51 +0200 |
commit | 15d924d363a2bc02aa4a489241333be3d7820978 (patch) | |
tree | 380df03658ebffc5ef335ca510a412ce86a8d4c2 /mdmon.c | |
parent | bitmap: Remove use of md_get_version() (diff) | |
download | mdadm-15d924d363a2bc02aa4a489241333be3d7820978.tar.xz mdadm-15d924d363a2bc02aa4a489241333be3d7820978.zip |
mdmon: Stop bothering about md_get_version()
If anyone has a kernel with md driver older than 0.90.03 they will
also know where to find older versions of mdadm.
Signed-off-by: Jes Sorensen <Jes.Sorensen@gmail.com>
Diffstat (limited to 'mdmon.c')
-rw-r--r-- | mdmon.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -408,10 +408,6 @@ static int mdmon(char *devnm, int must_fork, int takeover) pr_err("%s: %s\n", devnm, strerror(errno)); return 1; } - if (md_get_version(mdfd) < 0) { - pr_err("%s: Not an md device\n", devnm); - return 1; - } /* Fork, and have the child tell us when they are ready */ if (must_fork) { |