changeset 19136:504d2bd44d07

* lib/fts.c: Fix XFS comments.
author Paul Eggert <eggert@cs.ucla.edu>
date Fri, 08 Sep 2017 09:35:53 -0700
parents b5117d36849c
children 7cd8c0c156ef 6d737cdd7618
files lib/fts.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lib/fts.c	Fri Sep 08 18:34:58 2017 +0300
+++ b/lib/fts.c	Fri Sep 08 09:35:53 2017 -0700
@@ -814,10 +814,10 @@
 {
   switch (filesystem_type (p))
     {
-      /* List here the file system types that lack usable dirent.d_type
+      /* List here the file system types that may lack usable dirent.d_type
          info, yet for which the optimization does apply.  */
     case S_MAGIC_REISERFS:
-    case S_MAGIC_XFS:
+    case S_MAGIC_XFS: /* XFS lacked it until 2013-08-22 commit.  */
       return NOSTAT_LEAF_OPTIMIZATION;
 
     case 0:
@@ -1417,7 +1417,7 @@
         else
           {
             /* Try to descend unless it is a names-only fts_children,
-               or the directory is a known to lack subdirectories.  */
+               or the directory is known to lack subdirectories.  */
             descend = (type != BNAMES
                        && ! (ISSET (FTS_NOSTAT) && ISSET (FTS_PHYSICAL)
                              && ! ISSET (FTS_SEEDOT)