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

osd_dir_it_key and osd_index_it_key feed zap_cursor_retrieve return to ERR_PTR

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • Lustre 2.14.0
    • 3
    • 9223372036854775807

    Description

      it looks like both do

             if ((rc = -zap_cursor_retrieve(it->ozi_zc, za)))
                      RETURN(ERR_PTR(rc));
      

      But in fact it could return a wildly positive value that would break ERR_PTR as advised by smatch?

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: