aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/mdadm/patches/200-reduce_size.patch
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2019-02-14 13:07:58 -0800
committerHauke Mehrtens <hauke@hauke-m.de>2019-02-17 17:33:18 +0100
commitcd519abdbc412719c5af6ab3181e7a4b3fa50878 (patch)
treeb3575b7c6d6fa2983ce64ec88ba63b9b6fc1207b /package/utils/mdadm/patches/200-reduce_size.patch
parentf5db5742e4c6008b5bdb4e788cb4b44c6e420f43 (diff)
downloadupstream-cd519abdbc412719c5af6ab3181e7a4b3fa50878.tar.gz
upstream-cd519abdbc412719c5af6ab3181e7a4b3fa50878.tar.bz2
upstream-cd519abdbc412719c5af6ab3181e7a4b3fa50878.zip
mdadm: Update to 4.1
Tested on GnuBee PC1. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'package/utils/mdadm/patches/200-reduce_size.patch')
-rw-r--r--package/utils/mdadm/patches/200-reduce_size.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/utils/mdadm/patches/200-reduce_size.patch b/package/utils/mdadm/patches/200-reduce_size.patch
index ae8204ccd9..098fa1e1ec 100644
--- a/package/utils/mdadm/patches/200-reduce_size.patch
+++ b/package/utils/mdadm/patches/200-reduce_size.patch
@@ -1,6 +1,6 @@
--- a/Incremental.c
+++ b/Incremental.c
-@@ -1642,6 +1642,10 @@ static int Incremental_container(struct
+@@ -1619,6 +1619,10 @@ static int Incremental_container(struct supertype *st, char *devname,
if (ra_all == ra_blocked)
return 0;
@@ -13,7 +13,7 @@
memcpy(suuid, uuid_zero, sizeof(int[4]));
--- a/util.c
+++ b/util.c
-@@ -1151,7 +1151,9 @@ void wait_for(char *dev, int fd)
+@@ -1220,7 +1220,9 @@ void wait_for(char *dev, int fd)
struct superswitch *superlist[] =
{
&super0, &super1,
@@ -21,5 +21,5 @@
&super_ddf, &super_imsm,
+#endif
&mbr, &gpt,
- NULL };
-
+ NULL
+ };