[LU-15308] lod_alloc_comp_entries should set ldo_mirrors to NULL on error Created: 02/Dec/21 Updated: 29/Jul/22 Resolved: 11/Jun/22 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.16.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | John Hammond | Assignee: | John Hammond |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
In lod_alloc_comp_entries() if OBD_ALLOC_LARGE fails and we free ldo_mirrors then we should set it to NULL to avoid a double free later. |
| Comments |
| Comment by Gerrit Updater [ 06/Apr/22 ] |
|
"John L. Hammond <jhammond@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/47008 |
| Comment by Gerrit Updater [ 11/Jun/22 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47008/ |
| Comment by Peter Jones [ 11/Jun/22 ] |
|
Landed for 2.16 |