Whamcloud - gitweb
LU-11154 llite: use proper flags for FS_IOC_{FSSET,FSGET}XATTR
[fs/lustre-release.git] / lustre / llite / llite_internal.h
index 716263b..bca1084 100644 (file)
@@ -260,6 +260,8 @@ enum ll_file_flags {
        LLIF_FILE_RESTORING     = 1,
        /* Xattr cache is attached to the file */
        LLIF_XATTR_CACHE        = 2,
+       /* Project inherit */
+       LLIF_PROJECT_INHERIT    = 3,
 };
 
 static inline void ll_file_set_flag(struct ll_inode_info *lli,
@@ -927,6 +929,7 @@ int ll_statfs(struct dentry *de, struct kstatfs *sfs);
 int ll_statfs_internal(struct ll_sb_info *sbi, struct obd_statfs *osfs,
                       u32 flags);
 int ll_update_inode(struct inode *inode, struct lustre_md *md);
+void ll_update_inode_flags(struct inode *inode, int ext_flags);
 int ll_read_inode2(struct inode *inode, void *opaque);
 void ll_delete_inode(struct inode *inode);
 int ll_iocontrol(struct inode *inode, struct file *file,