xfs: remove the unused XFS_B_FSB_OFFSET macro
PATCH 1/1 xfs: remove the unused XFS_B_FSB_OFFSET macro
From: Kaixu Xia <[email protected]>
There are no callers of the XFS_B_FSB_OFFSET macro, so remove it.
--- fs/xfs/libxfs/xfs_format.h | 1 - 1 file changed, 1 deletion(-)
fs/xfs/libxfs/xfs_format.h +0 -1
@@ -625,7 +625,6 @@ xfs_is_quota_inode(struct xfs_sb *sbp, xfs_ino_t ino)#define XFS_B_TO_FSB (mp,b) \ ((((uint64_t)(b)) + (mp)->m_blockmask) >> (mp)->m_sb.sb_blocklog)#define XFS_B_TO_FSBT (mp,b) (((uint64_t)(b)) >> (mp)->m_sb.sb_blocklog) -#define XFS_B_FSB_OFFSET (mp,b) ((b) & (mp)->m_blockmask)/* * Allocation group header
Signature · 1 line
2.20.0
Quoted 14 lines · On Tue, Oct 20, 2020 at 12:54:26PM +0800, [email protected] wrote:
From: Kaixu Xia <[email protected]>
There are no callers of the
XFS_B_FSB_OFFSETmacro, so remove it.Signed-off-by Kaixu Xia <[email protected]>--- fs/xfs/libxfs/xfs_format.h | 1 - 1 file changed, 1 deletion(-)fs/xfs/libxfs/xfs_format.h +0
-0
fs/xfs/libxfs/xfs_format.h xfs_is_quota_inode(struct xfs_sb *sbp, xfs_ino_t ino) · line 628
Quoted 4 lines
fs/xfs/libxfs/xfs_format.h +0
-1@@ -625,7 +625,6 @@ xfs_is_quota_inode(struct xfs_sb *sbp, xfs_ino_t ino)#define XFS_B_TO_FSB (mp,b) \ ((((uint64_t)(b)) + (mp)->m_blockmask) >> (mp)->m_sb.sb_blocklog)#define XFS_B_TO_FSBT (mp,b) (((uint64_t)(b)) >> (mp)->m_sb.sb_blocklog) -#define XFS_B_FSB_OFFSET (mp,b) ((b) & (mp)->m_blockmask)
Looks fine.
Signature · 2 lines
Dave Chinner [email protected]
Quoted 3 lines · On Tue, Oct 20, 2020 at 12:54:26PM +0800, [email protected] wrote:
From: Kaixu Xia <[email protected]>
There are no callers of the
XFS_B_FSB_OFFSETmacro, so remove it.
No callers in xfsprogs either.
Looks good:
Quoted 10 lines · Christoph Hellwig
Quoted 3 lines · On Tue, Oct 20, 2020 at 12:54:26PM +0800, [email protected] wrote:
From: Kaixu Xia <[email protected]>
There are no callers of the
XFS_B_FSB_OFFSETmacro, so remove it.No callers in xfsprogs either.
Looks good:
Reviewed-by Christoph Hellwig <[email protected]>
Hi Darrick,
There are some patches that have been reviewed but not been merged into xfs for-next branch, I will reply to them.
Sorry for the noise:)
Thanks,
Kaixu
Quoted 1 line
Signature · 1 line
kaixuxia
Quoted 12 lines · kaixuxia
Quoted 9 lines · Christoph Hellwig
Quoted 3 lines · On Tue, Oct 20, 2020 at 12:54:26PM +0800, [email protected] wrote:
From: Kaixu Xia <[email protected]>
There are no callers of the
XFS_B_FSB_OFFSETmacro, so remove it.No callers in xfsprogs either.
Looks good:
Quoted 7 lines
Quoted 1 line
Reviewed-by Christoph Hellwig <[email protected]>Hi Darrick,
There are some patches that have been reviewed but not been merged into xfs for-next branch, I will reply to them.
Sorry for the noise:)
Yes. AFAICT none of them are critical 5.10 bugfixes so they're all waiting for 5.11.
--D
Quoted 6 lines
Thanks,
KaixuQuoted 1 line
Signature · 1 line
kaixuxia