[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:
Related
is related to LU-16009 BUG: unable to handle kernel paging r... Open
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
Subject: LU-15308 lod: set ldo_mirrors to NULL on error
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 6fed916d63a884beda6d3b0d05511fc3eef6830e

Comment by Gerrit Updater [ 11/Jun/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47008/
Subject: LU-15308 lod: set ldo_mirrors to NULL on error
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 27480516bb20fd62660ce38e2c381a76c5000833

Comment by Peter Jones [ 11/Jun/22 ]

Landed for 2.16

Generated at Sat Feb 10 03:17:12 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.