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

mdt_mfd_open() tests for FMODE_EXEC in error path

    XMLWordPrintable

Details

    • 3
    • 12172

    Description

      At the bottom of mdt_mfd_open() we should test for MDS_FMODE_EXEC rather than FMODE_EXEC:

      err_out:
              if (flags & FMODE_WRITE)
                              /* XXX We also need to close io epoch here.                       
                               * See LU-1220 - green */
                      mdt_write_put(o);
              else if (flags & FMODE_EXEC)
                      mdt_write_allow(o);
              return rc;
      }
      

      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: