You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
414 B
13 lines
414 B
--- mdadm/super1-orig.c 2023-11-10 19:27:25.262178162 +0800
|
|
+++ mdadm/super1.c 2023-11-10 19:28:25.991441827 +0800
|
|
@@ -1988,8 +1988,7 @@
|
|
long bm_offset;
|
|
bool raid0_need_layout = false;
|
|
|
|
- /* Since linux kernel v5.4, raid0 always has a layout */
|
|
- if (has_raid0_layout(sb) && get_linux_version() >= 5004000)
|
|
+ if (has_raid0_layout(sb))
|
|
raid0_need_layout = true;
|
|
|
|
for (di = st->info; di; di = di->next) {
|