提交 895e9bfc 编写于 作者: C Christoph Hellwig 提交者: Darrick J. Wong

xfs: remove the unused XFS_MAXLINK_1 define

Signed-off-by: NChristoph Hellwig <hch@lst.de>
Reviewed-by: NDarrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: NDarrick J. Wong <darrick.wong@oracle.com>
上级 4f1adf33
...@@ -930,10 +930,8 @@ static inline uint xfs_dinode_size(int version) ...@@ -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. * 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. * 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 ((1U << 31) - 1U)
#define XFS_MAXLINK_1 65535U
/* /*
* Values for di_format * Values for di_format
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册