summaryrefslogtreecommitdiffstats
path: root/super1.c
diff options
context:
space:
mode:
authorJes Sorensen <jes@trained-monkey.org>2023-04-10 17:45:34 +0200
committerJes Sorensen <jes@trained-monkey.org>2023-04-10 17:47:32 +0200
commitf8d2c4286a92b7acb7872271a401ad1efe336096 (patch)
tree48b6cbf7904c080e4e9407efeed5969edad09915 /super1.c
parentFix some cases eyesore formatting (diff)
downloadmdadm-f8d2c4286a92b7acb7872271a401ad1efe336096.tar.xz
mdadm-f8d2c4286a92b7acb7872271a401ad1efe336096.zip
Bump minimum kernel version to 2.6.32
Summary: At this point it probably is reasonable to drop support for anything prior to 3.10. Signed-off-by: Jes Sorensen <jes@trained-monkey.org>
Diffstat (limited to 'super1.c')
-rw-r--r--super1.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/super1.c b/super1.c
index 1d20ef55..938c3a68 100644
--- a/super1.c
+++ b/super1.c
@@ -2033,11 +2033,6 @@ static int write_init_super1(struct supertype *st)
/* same array, so preserve events and
* dev_number */
sb->events = refsb->events;
- /* bugs in 2.6.17 and earlier mean the
- * dev_number chosen in Manage must be preserved
- */
- if (get_linux_version() >= 2006018)
- sb->dev_number = refsb->dev_number;
}
free_super1(refst);
}