dcavalca / rpms / mdadm

Forked from rpms/mdadm 3 years ago
Clone

Blame SOURCES/maps-Remove-incorrect-comment-about-strcmp.patch

b7f731
From 966188e959ec198889bec6d2f9dac34bff97478f Mon Sep 17 00:00:00 2001
b7f731
From: Jes Sorensen <jsorensen@fb.com>
b7f731
Date: Fri, 21 Apr 2017 12:09:12 -0400
b7f731
Subject: [RHEL7.5 PATCH 092/169] maps: Remove incorrect comment about
b7f731
 strcmp()
b7f731
b7f731
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
b7f731
---
b7f731
 maps.c | 4 ----
b7f731
 1 file changed, 4 deletions(-)
b7f731
b7f731
diff --git a/maps.c b/maps.c
b7f731
index 11dd3d2..81f29c4 100644
b7f731
--- a/maps.c
b7f731
+++ b/maps.c
b7f731
@@ -141,10 +141,6 @@ mapping_t consistency_policies[] = {
b7f731
 };
b7f731
 
b7f731
 mapping_t sysfs_array_states[] = {
b7f731
-	/*
b7f731
-	 * Beware map_name() uses strcmp() so active-idle must come before
b7f731
-	 * active, to be detected correctly.
b7f731
-	 */
b7f731
 	{ "active-idle", ARRAY_ACTIVE_IDLE },
b7f731
 	{ "active", ARRAY_ACTIVE },
b7f731
 	{ "clear", ARRAY_CLEAR },
b7f731
-- 
b7f731
2.7.4
b7f731