1 #ifndef LUSTRE_INTENT_H
2 #define LUSTRE_INTENT_H
4 #include <linux/lustre_version.h>
6 #ifndef LUSTRE_KERNEL_VERSION
8 #define IT_OPEN (1 << 0)
9 #define IT_CREAT (1 << 1)
10 #define IT_READDIR (1 << 2)
11 #define IT_GETATTR (1 << 3)
12 #define IT_LOOKUP (1 << 4)
13 #define IT_UNLINK (1 << 5)
14 #define IT_TRUNC (1 << 6)
15 #define IT_GETXATTR (1 << 7)
17 struct lustre_intent_data {
25 struct lookup_intent {
30 struct lustre_intent_data lustre;