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

it_lock_bits should be bit-wise tested

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • Lustre 2.14.0
    • None
    • 3
    • 9223372036854775807

    Description

      It was noted during a code review that struct lookup_intent member it_lock_bits is a bitfield but there was a location where it was being tested by an equality test ( != MDS_INODELOCK_OPEN)

      If lock_mode is not set then ensure that it_lock_bits has the MDS_INODELOCK_OPEN bit set

      Attachments

        Activity

          People

            stancheff Shaun Tancheff
            stancheff Shaun Tancheff
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: