diff options
author | Dave Chinner <dchinner@redhat.com> | 2013-08-12 14:49:23 +0400 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2013-08-13 01:05:19 +0400 |
commit | 69432832fd7466c20c7c92cbd92c561ac78988c2 (patch) | |
tree | e88e0d4698eab40c93248c7be3b7d8d2ffd52c19 /fs/xfs/xfs_types.h | |
parent | fc06c6d064dd50f7aa157065ef79216190d75c91 (diff) | |
download | linux-69432832fd7466c20c7c92cbd92c561ac78988c2.tar.xz |
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.h | 6 |
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 |