Re: [PATCH] xfs: fix typo and wrong terminator in xfs_attr_remote.c

From: Carlos Maiolino

Date: Tue Dec 01 2026 - 06:33:54 EST


On Tue, Dec 01, 2026 at 04:57:44PM +0800, jianyungao89@xxxxxxxxx wrote:
> From: Jianyun Gao <jianyungao89@xxxxxxxxx>
>
> Fix 'Ox%x' typo in alert format string and comma-terminated
> assignment in xfs_attr_rmtval_set_value().
>
> Signed-off-by: Jianyun Gao <jianyungao89@xxxxxxxxx>
> ---
> fs/xfs/libxfs/xfs_attr_remote.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/fs/xfs/libxfs/xfs_attr_remote.c b/fs/xfs/libxfs/xfs_attr_remote.c
> index 7cd3f2de1a80..5e3e06d17d61 100644
> --- a/fs/xfs/libxfs/xfs_attr_remote.c
> +++ b/fs/xfs/libxfs/xfs_attr_remote.c
> @@ -314,7 +314,7 @@ xfs_attr_rmtval_copyout(
> if (xfs_attr3_rmt_hdr_ok(src, owner, *offset,
> byte_cnt, bno)) {
> xfs_alert(mp,
> -"remote attribute header mismatch bno/off/len/owner (0x%llx/0x%x/Ox%x/0x%llx)",
> +"remote attribute header mismatch bno/off/len/owner (0x%llx/0x%x/0x%x/0x%llx)",
> bno, *offset, byte_cnt, owner);
> xfs_dirattr_mark_sick(dp, XFS_ATTR_FORK);
> return -EFSCORRUPTED;
> @@ -536,7 +536,7 @@ xfs_attr_rmtval_set_value(
> ASSERT((map.br_startblock != DELAYSTARTBLOCK) &&
> (map.br_startblock != HOLESTARTBLOCK));
>
> - dblkno = XFS_FSB_TO_DADDR(mp, map.br_startblock),
> + dblkno = XFS_FSB_TO_DADDR(mp, map.br_startblock);
> dblkcnt = XFS_FSB_TO_BB(mp, map.br_blockcount);

Reviewed-by: Carlos Maiolino <cmaiolino@xxxxxxxxxx>

>
> error = xfs_buf_get(mp->m_ddev_targp, dblkno, dblkcnt, &bp);
> --
> 2.34.1
>