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

Replace FMODE_READ and FMODE_WRITE in lustre_user.h with MDS_* equivalents

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • Lustre 2.11.0
    • Lustre 2.11.0
    • 3
    • 9223372036854775807

      In file lustre/include/uapi/linux/lustre/lustre_user.h, replace direct use of FMODE_READ and FMODE_WRITE with MDS_* equivalents. That will avoid name clashes with the kernel symbols, and avoid problems if their values ever change.
      I will submit a patch to address this.

            sbuisson Sebastien Buisson (Inactive)
            sbuisson Sebastien Buisson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: