aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 1bb62867deda..a1c95c980fdc 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -34,6 +34,16 @@ extern struct kmem_cache *btrfs_path_cachep;
34#define BTRFS_CRC32_SIZE 4 34#define BTRFS_CRC32_SIZE 4
35#define BTRFS_EMPTY_DIR_SIZE 6 35#define BTRFS_EMPTY_DIR_SIZE 6
36 36
37#define BTRFS_FT_UNKNOWN 0
38#define BTRFS_FT_REG_FILE 1
39#define BTRFS_FT_DIR 2
40#define BTRFS_FT_CHRDEV 3
41#define BTRFS_FT_BLKDEV 4
42#define BTRFS_FT_FIFO 5
43#define BTRFS_FT_SOCK 6
44#define BTRFS_FT_SYMLINK 7
45#define BTRFS_FT_MAX 8
46
37/* 47/*
38 * the key defines the order in the tree, and so it also defines (optimal) 48 * the key defines the order in the tree, and so it also defines (optimal)
39 * block layout. objectid corresonds to the inode number. The flags 49 * block layout. objectid corresonds to the inode number. The flags