[LU-15901] mdc_changelog_cdev_init leaves freed items on the list Created: 30/May/22 Updated: 25/Jul/22 Resolved: 27/Jun/22 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.16.0, Lustre 2.12.9, Lustre 2.15.0 |
| Fix Version/s: | Lustre 2.16.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Oleg Drokin | Assignee: | Oleg Drokin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Epic Link: | FLR tech debt review |
| 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); |
| Comments |
| Comment by Gerrit Updater [ 30/May/22 ] |
|
"Oleg Drokin <green@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/47480 |
| Comment by Gerrit Updater [ 27/Jun/22 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47480/ |
| Comment by Peter Jones [ 27/Jun/22 ] |
|
Landed for 2.16 |