[LU-12445] Kernel >= 4.19 have no *opened argument in atomic_open Created: 17/Jun/19 Updated: 10/Oct/19 Resolved: 18/Jun/19 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.13.0 |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Blocker |
| Reporter: | Thomas Stibor | Assignee: | Thomas Stibor |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | patch | ||
| Environment: |
Linux x230 4.19.0-5-amd64 #1 SMP Debian 4.19.37-3 (2019-05-15) x86_64 GNU/Linux |
||
| Issue Links: |
|
||||||||
| Epic/Theme: | patch | ||||||||
| Epic: | client | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
Since 4.19 or newer call iop->atomic_open has no *opened argument,
namei.c:1049:15: error: ‘FILE_CREATED’ undeclared (first use in this function); did you mean ‘FLD_CREATE’?
*opened |= FILE_CREATED;
|
| Comments |
| Comment by James A Simmons [ 17/Jun/19 ] |
|
Good news, we have a patch https://review.whamcloud.com/#/c/35020 already |
| Comment by Thomas Stibor [ 17/Jun/19 ] |
|
Perfect, good to know. Thanks Thomas |
| Comment by Andreas Dilger [ 18/Jun/19 ] |
|
Patch on |