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>
This commit is contained in:
parent
5d89b18da8
commit
15d924d363
4
mdmon.c
4
mdmon.c
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue