summaryrefslogtreecommitdiffstats
path: root/maps.c
diff options
context:
space:
mode:
authorJes Sorensen <jsorensen@fb.com>2017-04-21 18:09:12 +0200
committerJes Sorensen <jsorensen@fb.com>2017-04-21 18:09:12 +0200
commit966188e959ec198889bec6d2f9dac34bff97478f (patch)
treeebe0fbff633c6cfd6293f9bfc67183682b3110c2 /maps.c
parentMakefile: Default to -O2 optimization (diff)
downloadmdadm-966188e959ec198889bec6d2f9dac34bff97478f.tar.xz
mdadm-966188e959ec198889bec6d2f9dac34bff97478f.zip
maps: Remove incorrect comment about strcmp()
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Diffstat (limited to 'maps.c')
-rw-r--r--maps.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/maps.c b/maps.c
index 11dd3d20..81f29c41 100644
--- 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 },