Details
-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
Lustre 2.6.0
-
3
-
13878
Description
lustre_idl.h contains the following jewel:
#ifndef FMODE_READ #define FMODE_READ 00000001 #define FMODE_WRITE 00000002 #endif
While these defines are unlikely to change we don't own them and we're not checking that they aren't changing (except the implicit check that Lustre operates 'normally'). On the wire an in the MDT stack we should be using MDS_FMODE_
{READ,WRITE}(to be defined), and converting, and checking. There were some issues in the past when FMODE_EXEC was used by MDS_FMODE_EXEC was meant.
Attachments
Issue Links
- is duplicated by
-
LU-10483 Replace FMODE_READ and FMODE_WRITE in lustre_user.h with MDS_* equivalents
- Resolved