From: Darrick J. Wong <darrick.wong@xxxxxxxxxx> Pass the failing address through to the corruption report when dquot verifiers fail. Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx> Reviewed-by: Brian Foster <bfoster@xxxxxxxxxx> --- fs/xfs/libxfs/xfs_dquot_buf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/xfs/libxfs/xfs_dquot_buf.c b/fs/xfs/libxfs/xfs_dquot_buf.c index 8b7a6c3..a1e6cf1 100644 --- a/fs/xfs/libxfs/xfs_dquot_buf.c +++ b/fs/xfs/libxfs/xfs_dquot_buf.c @@ -229,7 +229,7 @@ xfs_dquot_buf_read_verify( else { fa = xfs_dquot_buf_verify(mp, bp); if (fa) - xfs_verifier_error(bp, -EFSCORRUPTED, __this_address); + xfs_verifier_error(bp, -EFSCORRUPTED, fa); } } @@ -266,7 +266,7 @@ xfs_dquot_buf_write_verify( fa = xfs_dquot_buf_verify(mp, bp); if (fa) - xfs_verifier_error(bp, -EFSCORRUPTED, __this_address); + xfs_verifier_error(bp, -EFSCORRUPTED, fa); } const struct xfs_buf_ops xfs_dquot_buf_ops = { -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html