Btrfs: add datacow flag in inode flag
[firefly-linux-kernel-4.4.55.git] / include / linux / fs.h
index e38b50a4b9d257f0413f15caadadfe1f84ec90d0..de9dd8119b71001b7bc8b98c08e94198497a86d3 100644 (file)
@@ -364,6 +364,8 @@ struct inodes_stat_t {
 #define FS_TOPDIR_FL                   0x00020000 /* Top of directory hierarchies*/
 #define FS_EXTENT_FL                   0x00080000 /* Extents */
 #define FS_DIRECTIO_FL                 0x00100000 /* Use direct i/o */
+#define FS_NOCOW_FL                    0x00800000 /* Do not cow file */
+#define FS_COW_FL                      0x02000000 /* Cow file */
 #define FS_RESERVED_FL                 0x80000000 /* reserved for ext2 lib */
 
 #define FS_FL_USER_VISIBLE             0x0003DFFF /* User visible flags */