diff options
author | Christoph Hellwig <hch@lst.de> | 2011-07-08 08:35:03 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2011-07-08 08:35:03 -0400 |
commit | 8bc387875870c87087f138741f456983cbc54660 (patch) | |
tree | e121ad0f46dc72517172b0fd9b21603504b6a117 /fs/xfs/xfs_inum.h | |
parent | 4fb44c8272a071290d2ad76164c532fa2902b604 (diff) |
xfs: cleanup shortform directory inode number handling
Refactor the shortform directory helpers that deal with the 32-bit vs
64-bit wide inode numbers into more sensible helpers, and kill the
xfs_intino_t typedef that is now superflous.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Alex Elder <aelder@sgi.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_inum.h')
-rw-r--r-- | fs/xfs/xfs_inum.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/fs/xfs/xfs_inum.h b/fs/xfs/xfs_inum.h index b8e4ee4e89a4..b253c0ea5bec 100644 --- a/fs/xfs/xfs_inum.h +++ b/fs/xfs/xfs_inum.h | |||
@@ -28,17 +28,6 @@ | |||
28 | 28 | ||
29 | typedef __uint32_t xfs_agino_t; /* within allocation grp inode number */ | 29 | typedef __uint32_t xfs_agino_t; /* within allocation grp inode number */ |
30 | 30 | ||
31 | /* | ||
32 | * Useful inode bits for this kernel. | ||
33 | * Used in some places where having 64-bits in the 32-bit kernels | ||
34 | * costs too much. | ||
35 | */ | ||
36 | #if XFS_BIG_INUMS | ||
37 | typedef xfs_ino_t xfs_intino_t; | ||
38 | #else | ||
39 | typedef __uint32_t xfs_intino_t; | ||
40 | #endif | ||
41 | |||
42 | #define NULLFSINO ((xfs_ino_t)-1) | 31 | #define NULLFSINO ((xfs_ino_t)-1) |
43 | #define NULLAGINO ((xfs_agino_t)-1) | 32 | #define NULLAGINO ((xfs_agino_t)-1) |
44 | 33 | ||