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

lustre_swab_lmv_mds_md() is not exported

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Lustre 2.6.0
    • Lustre 2.6.0
    • 3
    • 14855

    Description

      lustre_swab_lmv_mds_md() is called from ll_dir_getstripe() but not exported by ptlrpc.ko:

              case LMV_MAGIC_V1:
                      if (LMV_MAGIC != cpu_to_le32(LMV_MAGIC))
                              lustre_swab_lmv_mds_md((union lmv_mds_md *)lmm);
                      break;
      

      I imagine we don't see this as an error on normal builds because the call is eliminated as dead code when compiling for little endian.

      Attachments

        Activity

          People

            jhammond John Hammond
            jhammond John Hammond
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: