summaryrefslogtreecommitdiff
path: root/ctree.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-06-07 22:12:21 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-06-07 22:12:21 -0400
commit84e9d08a4bd72f106c1d97823c76410ae5076420 (patch)
tree29bd205a58a896dbeab9337ed287ef224eb636c9 /ctree.h
parent9b25940b9d4e73c4d66461018536dfba97c1e212 (diff)
endian fixes, makefile fixes
Diffstat (limited to 'ctree.h')
-rw-r--r--ctree.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/ctree.h b/ctree.h
index 68edbaa6..9240fef5 100644
--- a/ctree.h
+++ b/ctree.h
@@ -24,6 +24,16 @@ struct btrfs_trans_handle;
/* 32 bytes in various csum fields */
#define BTRFS_CSUM_SIZE 32
+#define BTRFS_FT_UNKNOWN 0
+#define BTRFS_FT_REG_FILE 1
+#define BTRFS_FT_DIR 2
+#define BTRFS_FT_CHRDEV 3
+#define BTRFS_FT_BLKDEV 4
+#define BTRFS_FT_FIFO 5
+#define BTRFS_FT_SOCK 6
+#define BTRFS_FT_SYMLINK 7
+#define BTRFS_FT_MAX 8
+
/*
* the key defines the order in the tree, and so it also defines (optimal)
* block layout. objectid corresonds to the inode number. The flags