]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
maps: Remove incorrect comment about strcmp()
authorJes Sorensen <jsorensen@fb.com>
Fri, 21 Apr 2017 16:09:12 +0000 (12:09 -0400)
committerJes Sorensen <jsorensen@fb.com>
Fri, 21 Apr 2017 16:09:12 +0000 (12:09 -0400)
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
maps.c

diff --git a/maps.c b/maps.c
index 11dd3d20f17203921621113228ab1c0ba93a8d6a..81f29c41f887a95a391400219b2373cf1a836351 100644 (file)
--- a/maps.c
+++ b/maps.c
@@ -141,10 +141,6 @@ mapping_t consistency_policies[] = {
 };
 
 mapping_t sysfs_array_states[] = {
-       /*
-        * Beware map_name() uses strcmp() so active-idle must come before
-        * active, to be detected correctly.
-        */
        { "active-idle", ARRAY_ACTIVE_IDLE },
        { "active", ARRAY_ACTIVE },
        { "clear", ARRAY_CLEAR },