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

lustre_swab_lmv_mds_md() is not exported

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Lustre 2.6.0
    • Fix Version/s: Lustre 2.6.0
    • Labels:
    • Severity:
      3
    • Rank (Obsolete):
      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

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

              Dates

              • Created:
                Updated:
                Resolved: