aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_types.h')
-rw-r--r--fs/xfs/xfs_types.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/xfs/xfs_types.h b/fs/xfs/xfs_types.h
index 61ba1cfa974c..39c48ca64a60 100644
--- a/fs/xfs/xfs_types.h
+++ b/fs/xfs/xfs_types.h
@@ -146,6 +146,12 @@ typedef __uint64_t xfs_filblks_t; /* number of blocks in a file */
#define XFS_MAX_SECTORSIZE (1 << XFS_MAX_SECTORSIZE_LOG)
/*
+ * Inode fork identifiers.
+ */
+#define XFS_DATA_FORK 0
+#define XFS_ATTR_FORK 1
+
+/*
* Min numbers of data/attr fork btree root pointers.
*/
#define MINDBTPTRS 3