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

must use __u64 when handling sp_cr_flags

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • Lustre 2.5.0
    • Lustre 2.5.0
    • 3
    • 8803

    Description

      struct md_op_spec's member sp_cr_flags is a __u64 mask which is actually used
      to store some flags the will not fit in __u32, for example MDS_OPEN_VOLATILE = 0400000000000ULL = 0x800000000. Code that copies this field should use __u64 and not __u32 as occurs in some places.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: