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

qmt_pool_lock leak in qmt_pool_lookup()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • Lustre 2.15.0
    • None
    • None
    • 3
    • 9223372036854775807

      It seems that qmt_pool_lookup() jumps to out_err label if qti_pools_add() fails, but the pool lock is not released:

      out_err:
              CERROR("%s: cannot add pool %s: err = %d\n",
                      qmt->qmt_svname, pos->qpi_name, rc);
              RETURN(ERR_PTR(rc));
      

      seems like a bug?
      Introduced by 09f9fb3211c "LU-11023 quota: quota pools for OSTs"

            scherementsev Sergey Cheremencev
            green Oleg Drokin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: