Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • Lustre 2.17.0
    • Lustre 2.17.0
    • 3
    • 9223372036854775807

    Description

      smatch highlights that osp_create uses likely() wrongly:

              /* we might have lost precreated objects */
              if (unlikely(d->opd_gap_count) > 0) {
      

      where as it clearly should be if (unlikely(d->opd_gap_count > 0))

      Introduced in http://review.whamcloud.com/4030

      Attachments

        Activity

          [LU-19001] osp_create uses likely wrongly
          There are no comments yet on this issue.

          People

            wc-triage WC Triage
            green Oleg Drokin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: