Whamcloud - gitweb
LU-3677 mdt: Set HSM dirty open-for-write file when evicted.
[fs/lustre-release.git] / lustre / include / liblustre.h
index ad88587..1cf77fc 100644 (file)
@@ -163,8 +163,8 @@ void cfs_get_random_bytes(void *ptr, int size);
 /* memory */
 
 /* memory size: used for some client tunables */
-#define cfs_num_physpages  (256 * 1024) /* 1GB */
-#define CFS_NUM_CACHEPAGES cfs_num_physpages
+#define num_physpages  (256 * 1024) /* 1GB */
+#define NUM_CACHEPAGES num_physpages
 
 
 /* VFS stuff */
@@ -215,14 +215,14 @@ struct lustre_intent_data {
 };
 
 struct lookup_intent {
-        int     it_magic;
-        void    (*it_op_release)(struct lookup_intent *);
-        int     it_op;
-        int     it_flags;
-        int     it_create_mode;
-        union {
-                struct lustre_intent_data lustre;
-        } d;
+       int     it_magic;
+       void    (*it_op_release)(struct lookup_intent *);
+       int     it_op;
+       int     it_create_mode;
+       __u64   it_flags;
+       union {
+               struct lustre_intent_data lustre;
+       } d;
 };
 
 static inline void intent_init(struct lookup_intent *it, int op, int flags)