Skip to content
Snippets Groups Projects
Commit 76fc2cda authored by Johann Lombardi's avatar Johann Lombardi
Browse files

Branch b1_6

b=13828
i=adilger,shadow

Don't use kernel's ATTR_* attributes over the network since the client and MDS
may run different kernels. Instead, use MDS_ATTR_* attributes (defined in
lustre_idl.h) for sa_valid.
parent a44c53f6
No related branches found
No related tags found
No related merge requests found
...@@ -140,6 +140,8 @@ static inline void cfs_flock_set_end(cfs_flock_t *fl, loff_t end) ...@@ -140,6 +140,8 @@ static inline void cfs_flock_set_end(cfs_flock_t *fl, loff_t end)
#define ATTR_FROM_OPEN 0x1000 /* called from open path, ie O_TRUNC */ #define ATTR_FROM_OPEN 0x1000 /* called from open path, ie O_TRUNC */
#define ATTR_CTIME_SET 0x2000 #define ATTR_CTIME_SET 0x2000
#define ATTR_BLOCKS 0x4000 #define ATTR_BLOCKS 0x4000
#define ATTR_KILL_SUID 0
#define ATTR_KILL_SGID 0
#define in_group_p(x) (0) #define in_group_p(x) (0)
......
...@@ -131,6 +131,8 @@ typedef struct file_lock{ ...@@ -131,6 +131,8 @@ typedef struct file_lock{
#define ATTR_FROM_OPEN 0x1000 /* called from open path, ie O_TRUNC */ #define ATTR_FROM_OPEN 0x1000 /* called from open path, ie O_TRUNC */
//#define ATTR_CTIME_SET 0x2000 //#define ATTR_CTIME_SET 0x2000
#define ATTR_BLOCKS 0x4000 #define ATTR_BLOCKS 0x4000
#define ATTR_KILL_SUID 0
#define ATTR_KILL_SGID 0
#define in_group_p(x) (0) #define in_group_p(x) (0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment