@@ -122,7 +122,7 @@ static int BlackListCompare(const void *str1, const void *str2);
122122
123123static char dir_check_file (pgFile * file );
124124static void dir_list_file_internal (parray * files ,pgFile * parent ,bool exclude ,
125- bool omit_symlink ,parray * black_list ,
125+ bool follow_symlink ,parray * black_list ,
126126int external_dir_num ,fio_location location );
127127static void opt_path_map (ConfigOption * opt ,const char * arg ,
128128TablespaceList * list ,const char * type );
@@ -159,14 +159,14 @@ dir_create_dir(const char *dir, mode_t mode)
159159}
160160
161161pgFile *
162- pgFileNew (const char * path ,const char * rel_path ,bool omit_symlink ,
162+ pgFileNew (const char * path ,const char * rel_path ,bool follow_symlink ,
163163int external_dir_num ,fio_location location )
164164{
165165struct stat st ;
166166pgFile * file ;
167167
168168/* stat the file */
169- if (fio_stat (path ,& st ,omit_symlink ,location )< 0 )
169+ if (fio_stat (path ,& st ,follow_symlink ,location )< 0 )
170170{
171171/* file not found is not an error case */
172172if (errno == ENOENT )
@@ -445,11 +445,11 @@ BlackListCompare(const void *str1, const void *str2)
445445 * List files, symbolic links and directories in the directory "root" and add
446446 * pgFile objects to "files". We add "root" to "files" if add_root is true.
447447 *
448- * Whenomit_symlink is true, symbolic link is ignored and only file or
448+ * Whenfollow_symlink is true, symbolic link is ignored and only file or
449449 * directory linked to will be listed.
450450 */
451451void
452- dir_list_file (parray * files ,const char * root ,bool exclude ,bool omit_symlink ,
452+ dir_list_file (parray * files ,const char * root ,bool exclude ,bool follow_symlink ,
453453bool add_root ,int external_dir_num ,fio_location location )
454454{
455455pgFile * file ;
@@ -490,7 +490,7 @@ dir_list_file(parray *files, const char *root, bool exclude, bool omit_symlink,
490490parray_qsort (black_list ,BlackListCompare );
491491}
492492
493- file = pgFileNew (root ,"" ,omit_symlink ,external_dir_num ,location );
493+ file = pgFileNew (root ,"" ,follow_symlink ,external_dir_num ,location );
494494if (file == NULL )
495495{
496496/* For external directory this is not ok */
@@ -512,7 +512,7 @@ dir_list_file(parray *files, const char *root, bool exclude, bool omit_symlink,
512512if (add_root )
513513parray_append (files ,file );
514514
515- dir_list_file_internal (files ,file ,exclude ,omit_symlink ,black_list ,
515+ dir_list_file_internal (files ,file ,exclude ,follow_symlink ,black_list ,
516516external_dir_num ,location );
517517
518518if (!add_root )
@@ -731,7 +731,7 @@ dir_check_file(pgFile *file)
731731 */
732732static void
733733dir_list_file_internal (parray * files ,pgFile * parent ,bool exclude ,
734- bool omit_symlink ,parray * black_list ,
734+ bool follow_symlink ,parray * black_list ,
735735int external_dir_num ,fio_location location )
736736{
737737DIR * dir ;
@@ -764,7 +764,7 @@ dir_list_file_internal(parray *files, pgFile *parent, bool exclude,
764764join_path_components (child ,parent -> path ,dent -> d_name );
765765join_path_components (rel_child ,parent -> rel_path ,dent -> d_name );
766766
767- file = pgFileNew (child ,rel_child ,omit_symlink ,external_dir_num ,
767+ file = pgFileNew (child ,rel_child ,follow_symlink ,external_dir_num ,
768768location );
769769if (file == NULL )
770770continue ;
@@ -821,7 +821,7 @@ dir_list_file_internal(parray *files, pgFile *parent, bool exclude,
821821 * recursively.
822822 */
823823if (S_ISDIR (file -> mode ))
824- dir_list_file_internal (files ,file ,exclude ,omit_symlink ,
824+ dir_list_file_internal (files ,file ,exclude ,follow_symlink ,
825825black_list ,external_dir_num ,location );
826826}
827827