diff options
author | Dave Chinner <dchinner@redhat.com> | 2012-04-23 01:58:58 -0400 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2012-05-14 17:20:54 -0400 |
commit | 60a34607b26b60d6b5c5c928ede7fc84b0f06b85 (patch) | |
tree | 5f6b7570d81f6d3ed82ca34f1645f14d23ce6893 /fs/xfs/xfs_inum.h | |
parent | bc4010ecb8f4d4316e1a63a879a2715e49d113ad (diff) |
xfs: move xfsagino_t to xfs_types.h
Untangle the header file includes a bit by moving the definition of
xfs_agino_t to xfs_types.h. This removes the dependency that xfs_ag.h has on
xfs_inum.h, meaning we don't need to include xfs_inum.h everywhere we include
xfs_ag.h.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_inum.h')
-rw-r--r-- | fs/xfs/xfs_inum.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/xfs/xfs_inum.h b/fs/xfs/xfs_inum.h index b253c0ea5bec..90efdaf1706f 100644 --- a/fs/xfs/xfs_inum.h +++ b/fs/xfs/xfs_inum.h | |||
@@ -26,11 +26,6 @@ | |||
26 | * high agno_log-agblklog-inopblog bits - 0 | 26 | * high agno_log-agblklog-inopblog bits - 0 |
27 | */ | 27 | */ |
28 | 28 | ||
29 | typedef __uint32_t xfs_agino_t; /* within allocation grp inode number */ | ||
30 | |||
31 | #define NULLFSINO ((xfs_ino_t)-1) | ||
32 | #define NULLAGINO ((xfs_agino_t)-1) | ||
33 | |||
34 | struct xfs_mount; | 29 | struct xfs_mount; |
35 | 30 | ||
36 | #define XFS_INO_MASK(k) (__uint32_t)((1ULL << (k)) - 1) | 31 | #define XFS_INO_MASK(k) (__uint32_t)((1ULL << (k)) - 1) |