diff options
author | Christoph Hellwig <hch@lst.de> | 2017-04-19 18:19:45 -0400 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-04-25 12:40:41 -0400 |
commit | 895e9bfc9e36c8e39ea4d2129dc2cbde1aafec99 (patch) | |
tree | eed1c473f83c17fef5581d48ec9c89673c65dd01 | |
parent | 4f1adf3373f072246c14119b2aa6dfb4d6510a43 (diff) |
xfs: remove the unused XFS_MAXLINK_1 define
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>
-rw-r--r-- | fs/xfs/libxfs/xfs_format.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/xfs/libxfs/xfs_format.h b/fs/xfs/libxfs/xfs_format.h index 6b7579e7b60a..d114ed80a076 100644 --- a/fs/xfs/libxfs/xfs_format.h +++ b/fs/xfs/libxfs/xfs_format.h | |||
@@ -930,10 +930,8 @@ static inline uint xfs_dinode_size(int version) | |||
930 | /* | 930 | /* |
931 | * The 32 bit link count in the inode theoretically maxes out at UINT_MAX. | 931 | * The 32 bit link count in the inode theoretically maxes out at UINT_MAX. |
932 | * Since the pathconf interface is signed, we use 2^31 - 1 instead. | 932 | * Since the pathconf interface is signed, we use 2^31 - 1 instead. |
933 | * The old inode format had a 16 bit link count, so its maximum is USHRT_MAX. | ||
934 | */ | 933 | */ |
935 | #define XFS_MAXLINK ((1U << 31) - 1U) | 934 | #define XFS_MAXLINK ((1U << 31) - 1U) |
936 | #define XFS_MAXLINK_1 65535U | ||
937 | 935 | ||
938 | /* | 936 | /* |
939 | * Values for di_format | 937 | * Values for di_format |