[LU-11855] fix out-of-block vars Created: 14/Jan/19  Updated: 08/Mar/19  Resolved: 08/Mar/19

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.13.0

Type: Bug Priority: Trivial
Reporter: Alex Zhuravlev Assignee: Alex Zhuravlev
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

there are couple places in the userspace code where variables are used after functional block (by pointer). gcc8 manages stack smarter than previous version and such a later usage result in wrong data.



 Comments   
Comment by Gerrit Updater [ 15/Jan/19 ]

Alex Zhuravlev (bzzz@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34026
Subject: LU-11855 utils: move declarations out of local blocks
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: b4f366029fd8f131a865ea27c95d2ea5a6d30e84

Comment by Gerrit Updater [ 08/Mar/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34026/
Subject: LU-11855 utils: move declarations out of local blocks
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 75d6bd8875010a7e49b77c6913835e6a65f61a18

Comment by Peter Jones [ 08/Mar/19 ]

Landed for 2.13

Generated at Sat Feb 10 02:47:31 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.