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

lmv_disconnect_mdc dereferences a potential NULL pointer

Details

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

    Description

      smatch found this piece in lmv_disconnect_mdc:

              if (mdc_obd) {
                      mdc_obd->obd_force = obd->obd_force;
                      mdc_obd->obd_fail = obd->obd_fail;
                      mdc_obd->obd_no_recov = obd->obd_no_recov;
              }
      
              if (lmv->targets_proc_entry != NULL)
                      lprocfs_remove_proc_entry(mdc_obd->obd_name,
                                                lmv->targets_proc_entry);
      

      Attachments

        Activity

          [LU-6517] lmv_disconnect_mdc dereferences a potential NULL pointer

          People

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

            Dates

              Created:
              Updated:
              Resolved: