summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_types.h
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2005-05-05 13:25:00 -0700
committerChristoph Hellwig <hch@melbourne.sgi.com>2005-05-05 13:25:00 -0700
commit31b084aef3f088962f56c100b31bb8479c5dd769 (patch)
tree855685aced7ce0c25fc250875ad0428ea7f63448 /fs/xfs/xfs_types.h
parentde20614b351e4d4d23af0a105baa8fd2d7cd4f26 (diff)
[XFS] Fix up uses of nlink_t incorrectly restricting us to 2^16 links for some platforms
SGI Modid: xfs-linux:xfs-kern:22032a Signed-off-by: Nathan Scott <nathans@sgi.com> Signed-off-by: Christoph Hellwig <hch@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_types.h')
-rw-r--r--fs/xfs/xfs_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_types.h b/fs/xfs/xfs_types.h
index 04609d27ea51..e4bf711e48ff 100644
--- a/fs/xfs/xfs_types.h
+++ b/fs/xfs/xfs_types.h
@@ -63,6 +63,7 @@ typedef __u64 xfs_ino_t; /* <inode> type */
typedef __s64 xfs_daddr_t; /* <disk address> type */
typedef char * xfs_caddr_t; /* <core address> type */
typedef __u32 xfs_dev_t;
+typedef __u32 xfs_nlink_t;
/* __psint_t is the same size as a pointer */
#if (BITS_PER_LONG == 32)