mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Carlos Maiolino <cem@kernel.org>
To: jianyungao89@gmail.com
Cc: linux-kernel@vger.kernel.org, Alexei Starovoitov <ast@kernel.org>,
	Kyuwon Cho <kyuwoncho18@gmail.com>,
	"Darrick J. Wong" <djwong@kernel.org>,
	Yuzuki Ishiyama <ishiyama@hpc.is.uec.ac.jp>,
	"open list:XFS FILESYSTEM" <linux-xfs@vger.kernel.org>
Subject: Re: [PATCH] xfs: fix typo and wrong terminator in xfs_attr_remote.c
Date: Tue, 1 Dec 2026 12:33:43 +0100	[thread overview]
Message-ID: <aw6wly_3sGky-9Ic@cronus.toxiclabs.cc> (raw)
In-Reply-To: <20261201085747.1855-1-jianyungao89@gmail.com>

On Tue, Dec 01, 2026 at 04:57:44PM +0800, jianyungao89@gmail.com wrote:
> From: Jianyun Gao <jianyungao89@gmail.com>
> 
> Fix 'Ox%x' typo in alert format string and comma-terminated
> assignment in xfs_attr_rmtval_set_value().
> 
> Signed-off-by: Jianyun Gao <jianyungao89@gmail.com>
> ---
>  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@redhat.com>

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

  reply	other threads:[~2026-12-01 11:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01  8:57 jianyungao89
2026-12-01 11:33 ` Carlos Maiolino [this message]
2026-12-01 11:38 ` Carlos Maiolino

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aw6wly_3sGky-9Ic@cronus.toxiclabs.cc \
    --to=cem@kernel.org \
    --cc=ast@kernel.org \
    --cc=djwong@kernel.org \
    --cc=ishiyama@hpc.is.uec.ac.jp \
    --cc=jianyungao89@gmail.com \
    --cc=kyuwoncho18@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-xfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®