From: Christoph Hellwig Date: Thu, 11 May 2017 19:01:08 +0000 (-0500) Subject: xfs: remove the unused XFS_MAXLINK_1 define X-Git-Tag: v4.12.0-rc1~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=838db3cb2a4a9863cfb232e99ac25bd3b092e5fb;p=thirdparty%2Fxfsprogs-dev.git xfs: remove the unused XFS_MAXLINK_1 define Source kernel commit: 895e9bfc9e36c8e39ea4d2129dc2cbde1aafec99 Signed-off-by: Christoph Hellwig Reviewed-by: Darrick J. Wong Signed-off-by: Darrick J. Wong Signed-off-by: Eric Sandeen --- diff --git a/libxfs/xfs_format.h b/libxfs/xfs_format.h index e14f96418..7b01412af 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