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

mdt_mfd_open() tests for FMODE_EXEC in error path

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

          [LU-4430] mdt_mfd_open() tests for FMODE_EXEC in error path
          donut-crowd Donut Crowd (Inactive) made changes -
          Remote Link Original: This issue links to "Page (HPDD Community Wiki)" [ 17337 ]
          donut-crowd Donut Crowd (Inactive) made changes -
          Remote Link Original: This issue links to "Page (HPDD Community Wiki)" [ 17259 ]
          donut-crowd Donut Crowd (Inactive) made changes -
          Remote Link Original: This issue links to "Page (HPDD Community Wiki)" [ 17249 ]
          mdiep Minh Diep made changes -
          Remote Link New: This issue links to "Page (HPDD Community Wiki)" [ 17337 ]
          mdiep Minh Diep made changes -
          Remote Link New: This issue links to "Page (HPDD Community Wiki)" [ 17259 ]
          mdiep Minh Diep made changes -
          Remote Link New: This issue links to "Page (HPDD Community Wiki)" [ 17249 ]
          pjones Peter Jones made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Reopened [ 4 ] New: Resolved [ 5 ]
          pjones Peter Jones made changes -
          Fix Version/s New: Lustre 2.5.1 [ 10608 ]
          pjones Peter Jones made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Closed [ 6 ] New: Reopened [ 4 ]
          jhammond John Hammond made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

          People

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

            Dates

              Created:
              Updated:
              Resolved: