aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_types.h
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2013-08-12 20:49:23 +1000
committerBen Myers <bpm@sgi.com>2013-08-12 16:05:19 -0500
commit69432832fd7466c20c7c92cbd92c561ac78988c2 (patch)
treee88e0d4698eab40c93248c7be3b7d8d2ffd52c19 /fs/xfs/xfs_types.h
parentxfs: separate out log format definitions (diff)
downloadlinux-dev-69432832fd7466c20c7c92cbd92c561ac78988c2.tar.xz
linux-dev-69432832fd7466c20c7c92cbd92c561ac78988c2.zip
xfs: split out inode log item format definition
The log item format definitions are shared with userspace. Split them out of header files that contain kernel only defintions to make it simple to shared them. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Mark Tinguely <tinguely@sgi.com> Signed-off-by: Ben Myers <bpm@sgi.com>
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