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

leXX_to_cpu() size mismatches

    XMLWordPrintable

Details

    • 3
    • 13082

    Description

      In lod_prep_md_striped_create() we're using cpu_to_le32() to transfer __u16 values:

      __u16 lmm_stripe_offset;
      __u16 ldo_def_stripe_offset;
              v3->lmm_stripe_count = cpu_to_le32(lo->ldo_def_stripenr);
              v3->lmm_stripe_offset = cpu_to_le32(lo->ldo_def_stripe_offset);
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: