diff --git a/gl/lib/fts.c b/gl/lib/fts.c
index ed3f815..878c04d 100644
--- a/gl/lib/fts.c
+++ b/gl/lib/fts.c
@@ -824,7 +824,6 @@ leaf_optimization (FTSENT const *p, int dir_fd)
/* 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: /* XFS lacked it until 2013-08-22 commit. */
return NOSTAT_LEAF_OPTIMIZATION;
case 0: