[LU-8190] current should not be directly referenced anymore Created: 22/May/16  Updated: 13/Oct/21  Resolved: 13/Oct/21

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

Type: Bug Priority: Minor
Reporter: Oleg Drokin Assignee: Yang Sheng
Resolution: Low Priority Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

As of relatively long ago current pointer is no longer supposed to be directly referenced, instead functions should be used to access it's content.
sparse warns against accessign it a lot in Lustre, so all users should be converted.



 Comments   
Comment by Joseph Gmitter (Inactive) [ 23/May/16 ]

Hi Yang Sheng,

Could you look into this? You may want look at the upstream kernel to see how it is handled there.

Thanks.
Joe

Comment by Andreas Dilger [ 13/Oct/21 ]

I don't see any checkpatch warnings about "current" access, and there still are a lot of uses.

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