Blame SOURCES/Fix-typo2-in-new-udev-rule.patch

b7f731
From dd180cb136d6b2193a58ea0de23b8a7942ca6f36 Mon Sep 17 00:00:00 2001
b7f731
From: NeilBrown <neilb@suse.com>
b7f731
Date: Fri, 5 May 2017 15:16:15 +1000
b7f731
Subject: [RHEL7.5 PATCH 111/169] Fix typo in new udev rule.
b7f731
b7f731
As pointed out by Peter Rajnoha, the correct usage in udev is
b7f731
TEST=="file", not TEST="file".
b7f731
b7f731
Also improve a related comment which was a bit informal.
b7f731
b7f731
Reported-by: Peter Rajnoha <prajnoha@redhat.com>
b7f731
Fixes: cd6cbb08c458 ("Create: tell udev md device is not ready when first created.")
b7f731
Signed-off-by: NeilBrown <neilb@suse.com>
b7f731
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
b7f731
---
b7f731
 lib.c                       | 2 +-
b7f731
 udev-md-raid-creating.rules | 2 +-
b7f731
 2 files changed, 2 insertions(+), 2 deletions(-)
b7f731
b7f731
diff --git a/lib.c b/lib.c
b7f731
index 7e44b1f..be093e8 100644
b7f731
--- a/lib.c
b7f731
+++ b/lib.c
b7f731
@@ -165,7 +165,7 @@ char *fd2devnm(int fd)
b7f731
 
b7f731
 /* When we create a new array, we don't want the content to
b7f731
  * be immediately examined by udev - it is probably meaningless.
b7f731
- * So create /run/mdadm/creating-FOO and expect that a udev
b7f731
+ * So create /run/mdadm/creating-mdXXX and expect that a udev
b7f731
  * rule will noticed this and act accordingly.
b7f731
  */
b7f731
 static char block_path[] = "/run/mdadm/creating-%s";
b7f731
diff --git a/udev-md-raid-creating.rules b/udev-md-raid-creating.rules
b7f731
index 2be466b..9bef8d1 100644
b7f731
--- a/udev-md-raid-creating.rules
b7f731
+++ b/udev-md-raid-creating.rules
b7f731
@@ -4,4 +4,4 @@
b7f731
 # the array is not "ready" and we should make sure the
b7f731
 # content is ignored.
b7f731
 
b7f731
-KERNEL=="md*", TEST="/run/mdadm/creating-$kernel", ENV{SYSTEMD_READY}="0"
b7f731
+KERNEL=="md*", TEST=="/run/mdadm/creating-$kernel", ENV{SYSTEMD_READY}="0"
b7f731
-- 
b7f731
2.7.4
b7f731