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

mdc_changelog_cdev_init frees memory without removing it from list

    XMLWordPrintable

Details

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

    Description

              list_add_tail(&obd->u.cli.cl_chg_dev_linkage, &entry->ced_obds);
              list_add_tail(&entry->ced_link, &chlg_registered_devices);
              rc = chlg_minor_alloc(&minor);
              if (rc)
                      GOTO(out_unlock, rc);
      ...
      out_minor:
              chlg_minor_free(minor);
              list_del_init(&obd->u.cli.cl_chg_dev_linkage);
              list_del(&entry->ced_link);
      out_unlock:
              mutex_unlock(&chlg_registered_dev_lock);
              if (entry)
                      OBD_FREE_PTR(entry);
              RETURN(rc);
       

      Attachments

        Activity

          People

            tappro Mikhail Pershin
            green Oleg Drokin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: