Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-5955

llapi_semantic_traverse() and lfs find skip any child directory named .lustre

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • Lustre 2.11.0
    • Lustre 2.7.0
    • 3
    • 16633

      From llapi_semantic_traverse():

              while ((dent = readdir64(d)) != NULL) {
                      int rc;
      
                      param->have_fileinfo = 0;
      
                      if (!strcmp(dent->d_name, ".") || !strcmp(dent->d_name, ".."))
                              continue;
      
                      /* Don't traverse .lustre directory */
                      if (!(strcmp(dent->d_name, dot_lustre_name)))
                              continue;
      

            adilger Andreas Dilger
            jhammond John Hammond
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: