]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
xfs: remove the unused XFS_MAXLINK_1 define
authorChristoph Hellwig <hch@lst.de>
Wed, 19 Apr 2017 22:19:45 +0000 (15:19 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 25 Apr 2017 16:40:41 +0000 (09:40 -0700)
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>
fs/xfs/libxfs/xfs_format.h

index 6b7579e7b60a228ee6e633221bc64952f4a93a41..d114ed80a076d0852169da9859c0439e428347ba 100644 (file)
@@ -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