summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_inum.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2011-07-08 14:35:03 +0200
committerChristoph Hellwig <hch@lst.de>2011-07-08 14:35:03 +0200
commit8bc387875870c87087f138741f456983cbc54660 (patch)
treee121ad0f46dc72517172b0fd9b21603504b6a117 /fs/xfs/xfs_inum.h
parent4fb44c8272a071290d2ad76164c532fa2902b604 (diff)
downloadop-kernel-dev-8bc387875870c87087f138741f456983cbc54660.zip
op-kernel-dev-8bc387875870c87087f138741f456983cbc54660.tar.gz
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.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/fs/xfs/xfs_inum.h b/fs/xfs/xfs_inum.h
index b8e4ee4..b253c0e 100644
--- a/fs/xfs/xfs_inum.h
+++ b/fs/xfs/xfs_inum.h
@@ -28,17 +28,6 @@
typedef __uint32_t xfs_agino_t; /* within allocation grp inode number */
-/*
- * Useful inode bits for this kernel.
- * Used in some places where having 64-bits in the 32-bit kernels
- * costs too much.
- */
-#if XFS_BIG_INUMS
-typedef xfs_ino_t xfs_intino_t;
-#else
-typedef __uint32_t xfs_intino_t;
-#endif
-
#define NULLFSINO ((xfs_ino_t)-1)
#define NULLAGINO ((xfs_agino_t)-1)
OpenPOWER on IntegriCloud