xfs: remove unused macros
PATCH 2/2 xfs: remove unused macros
Macros XFS_RMAP_IS_ATTR_FORK and XFS_RMAP_IS_UNWRITTEN were currently no longer used, so remove them.
This patch has only passed compilation test, but it should be fine.
Signed-off-by Julian Sun <[email protected]>
--- fs/xfs/libxfs/xfs_format.h | 2 -- 1 file changed, 2 deletions(-)
fs/xfs/libxfs/xfs_format.h +0 -2
@@ -1551,8 +1551,6 @@ struct xfs_rmap_rec {#define XFS_RMAP_OFF (off) ((off) & XFS_RMAP_OFF_MASK)#define XFS_RMAP_IS_BMBT_BLOCK (off) (!!((off) & XFS_RMAP_OFF_BMBT_BLOCK)) -#define XFS_RMAP_IS_ATTR_FORK (off) (!!((off) & XFS_RMAP_OFF_ATTR_FORK)) -#define XFS_RMAP_IS_UNWRITTEN (len) (!!((off) & XFS_RMAP_OFF_UNWRITTEN))#define RMAPBT_STARTBLOCK_BITLEN 32#define RMAPBT_BLOCKCOUNT_BITLEN 32
Signature · 1 line
2.39.2