[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
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster


Issue Links:
Duplicate
duplicates LU-12355 Support for linux kernel version 5.0 Resolved
Epic/Theme: patch
Epic: client
Rank (Obsolete): 9223372036854775807

 Description   

Since 4.19 or newer call iop->atomic_open has no *opened argument,
see a66b4cd1e7163adb327838a3c81faaf6a9330d5a

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 LU-12355

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