[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. |
| 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. |
| 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. |