[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: |
|
||||||||||||||||
| 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. |
| Comments |
| Comment by Gerrit Updater [ 10/Jan/18 ] |
|
Sebastien Buisson (sbuisson@ddn.com) uploaded a new patch: https://review.whamcloud.com/30824 with MDS_* equivs |
| Comment by Gerrit Updater [ 08/Mar/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/30824/ with MDS_* equivs |
| Comment by Peter Jones [ 08/Mar/18 ] |
|
Landed for 2.11 |