rename: compare_string_array -> index_in_str_array

introduce index_in_substr_array and use it in
iproute2
This commit is contained in:
Denis Vlasenko
2006-11-05 18:05:09 +00:00
parent 402151671b
commit 5af906e7c8
10 changed files with 50 additions and 44 deletions

View File

@@ -996,11 +996,11 @@ static int ignore(struct fs_info *fs)
if (!fs_match(fs, &fs_type_compiled)) return 1;
/* Are we ignoring this type? */
if(compare_string_array(ignored_types, fs->type) >= 0)
if (index_in_str_array(ignored_types, fs->type) >= 0)
return 1;
/* Do we really really want to check this fs? */
wanted = compare_string_array(really_wanted, fs->type) >= 0;
wanted = index_in_str_array(really_wanted, fs->type) >= 0;
/* See if the <fsck.fs> program is available. */
s = find_fsck(fs->type);