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

tgt_request_handle has unnecessary req->export != NULL check

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.8.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      Added by recent multislot code:

              tsi->tsi_tgt = tgt = class_exp2tgt(req->rq_export);
      ...
              /* check request's xid is consistent with export's last_xid */
              if (req->rq_export != NULL) {
      ...
      

      At this point we certainly cannot have NULL req->rq_export so that condition is totally unneeded.

      Attachments

        Activity

          People

            pichong Gregoire Pichon
            green Oleg Drokin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: