[LU-10483] Replace FMODE_READ and FMODE_WRITE in lustre_user.h with MDS_* equivalents Created: 10/Jan/18  Updated: 28/Mar/18  Resolved: 08/Mar/18

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

Type: Improvement Priority: Minor
Reporter: Sebastien Buisson (Inactive) Assignee: Sebastien Buisson (Inactive)
Resolution: Fixed Votes: 0
Labels: patch

Issue Links:
Duplicate
duplicates LU-5015 FMODE_{READ,WRITE} put on the wire Closed
Related
is related to LU-9727 Lustre Audit with Changelogs Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

In file lustre/include/uapi/linux/lustre/lustre_user.h, replace direct use of FMODE_READ and FMODE_WRITE with MDS_* equivalents. That will avoid name clashes with the kernel symbols, and avoid problems if their values ever change.
I will submit a patch to address this.



 Comments   
Comment by Gerrit Updater [ 10/Jan/18 ]

Sebastien Buisson (sbuisson@ddn.com) uploaded a new patch: https://review.whamcloud.com/30824
Subject: LU-10483 lustre: replace FMODE_

{READ,WRITE}

with MDS_* equivs
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 4d02202d1f8708b53ba405596089bffa4f510e8f

Comment by Gerrit Updater [ 08/Mar/18 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/30824/
Subject: LU-10483 lustre: replace FMODE_

{READ,WRITE}

with MDS_* equivs
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 5185ba6381ac459ad60e11952dc55c17e3167c5e

Comment by Peter Jones [ 08/Mar/18 ]

Landed for 2.11

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