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