summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_types.h
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2013-08-12 20:49:31 +1000
committerBen Myers <bpm@sgi.com>2013-08-12 16:35:41 -0500
commitd386b32b553ce145fb40f0d9360b6e5a79b5a80c (patch)
treee00135dfc377ec6b4f8a7f48e6e39b33bd842199 /fs/xfs/xfs_types.h
parent76456fc2a6fe3a31c492a072413925eebc68cc98 (diff)
xfs: sync minor header differences needed by userspace.
Little things like exported functions, __KERNEL__ protections, and so on that ensure user and kernel shared headers are identical. 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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/xfs/xfs_types.h b/fs/xfs/xfs_types.h
index 781772c6f192..6ed6b26585c2 100644
--- a/fs/xfs/xfs_types.h
+++ b/fs/xfs/xfs_types.h
@@ -32,7 +32,6 @@ typedef unsigned int __uint32_t;
typedef signed long long int __int64_t;
typedef unsigned long long int __uint64_t;
-typedef __uint32_t prid_t; /* project ID */
typedef __uint32_t inst_t; /* an instruction */
typedef __s64 xfs_off_t; /* <file offset> type */
@@ -55,6 +54,8 @@ typedef __uint64_t __psunsigned_t;
#endif /* __KERNEL__ */
+typedef __uint32_t prid_t; /* project ID */
+
typedef __uint32_t xfs_agblock_t; /* blockno in alloc. group */
typedef __uint32_t xfs_agino_t; /* inode # within allocation grp */
typedef __uint32_t xfs_extlen_t; /* extent length in blocks */