* [PATCH] xfs: fix typo and wrong terminator in xfs_attr_remote.c
@ 2026-12-01 8:57 jianyungao89
2026-12-01 11:33 ` Carlos Maiolino
2026-12-01 11:38 ` Carlos Maiolino
0 siblings, 2 replies; 3+ messages in thread
From: jianyungao89 @ 2026-12-01 8:57 UTC (permalink / raw)
To: linux-kernel
Cc: Jianyun Gao, Carlos Maiolino, Alexei Starovoitov, Kyuwon Cho,
Darrick J. Wong, Yuzuki Ishiyama, open list:XFS FILESYSTEM
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);
error = xfs_buf_get(mp->m_ddev_targp, dblkno, dblkcnt, &bp);
--
2.34.1
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] xfs: fix typo and wrong terminator in xfs_attr_remote.c
2026-12-01 8:57 [PATCH] xfs: fix typo and wrong terminator in xfs_attr_remote.c jianyungao89
@ 2026-12-01 11:33 ` Carlos Maiolino
2026-12-01 11:38 ` Carlos Maiolino
1 sibling, 0 replies; 3+ messages in thread
From: Carlos Maiolino @ 2026-12-01 11:33 UTC (permalink / raw)
To: jianyungao89
Cc: linux-kernel, Alexei Starovoitov, Kyuwon Cho, Darrick J. Wong,
Yuzuki Ishiyama, open list:XFS FILESYSTEM
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
>
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] xfs: fix typo and wrong terminator in xfs_attr_remote.c
2026-12-01 8:57 [PATCH] xfs: fix typo and wrong terminator in xfs_attr_remote.c jianyungao89
2026-12-01 11:33 ` Carlos Maiolino
@ 2026-12-01 11:38 ` Carlos Maiolino
1 sibling, 0 replies; 3+ messages in thread
From: Carlos Maiolino @ 2026-12-01 11:38 UTC (permalink / raw)
To: linux-kernel, jianyungao89
Cc: Alexei Starovoitov, Kyuwon Cho, Darrick J. Wong, Yuzuki Ishiyama,
linux-xfs
On Tue, 01 Dec 2026 16:57:44 +0800, jianyungao89@gmail.com wrote:
> Fix 'Ox%x' typo in alert format string and comma-terminated
> assignment in xfs_attr_rmtval_set_value().
>
>
Applied to for-next, thanks!
[1/1] xfs: fix typo and wrong terminator in xfs_attr_remote.c
commit: 0a6a1596709dbb422c7d7be82c96021c5128edab
Best regards,
--
Carlos Maiolino <cem@kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-12-01 11:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-01 8:57 [PATCH] xfs: fix typo and wrong terminator in xfs_attr_remote.c jianyungao89
2026-12-01 11:33 ` Carlos Maiolino
2026-12-01 11:38 ` Carlos Maiolino
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®