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

most uses of IS_ERR_VALUE() are incorrect

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • Lustre 2.6.0, Lustre 2.5.2
    • Lustre 2.5.0
    • None
    • 3
    • 8795

    Description

      We have several places in the code that do something equivalent the following

      int rc = PTR_ERR(foo);
      if (IS_ERR_VALUE(rc))
              bar();
      

      which is wrong.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: