aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-05-11 14:01:08 -0500
committerEric Sandeen <sandeen@redhat.com>2017-05-11 14:01:08 -0500
commit838db3cb2a4a9863cfb232e99ac25bd3b092e5fb (patch)
treedc25f79398f2c704e8a2e0b7e0ae3af6dba5b7f0
parentf1e0bd8de4ea298f3c728eeaaafbdb08a08db023 (diff)
downloadxfsprogs-dev-838db3cb2a4a9863cfb232e99ac25bd3b092e5fb.tar.gz
xfs: remove the unused XFS_MAXLINK_1 define
Source kernel commit: 895e9bfc9e36c8e39ea4d2129dc2cbde1aafec99 Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
-rw-r--r--libxfs/xfs_format.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/libxfs/xfs_format.h b/libxfs/xfs_format.h
index e14f964187..7b01412afd 100644
--- a/libxfs/xfs_format.h
+++ b/libxfs/xfs_format.h
@@ -930,10 +930,8 @@ static inline uint xfs_dinode_size(int version)
/*
* The 32 bit link count in the inode theoretically maxes out at UINT_MAX.
* Since the pathconf interface is signed, we use 2^31 - 1 instead.
- * The old inode format had a 16 bit link count, so its maximum is USHRT_MAX.
*/
#define XFS_MAXLINK ((1U << 31) - 1U)
-#define XFS_MAXLINK_1 65535U
/*
* Values for di_format