Re: [PATCH] xfs: move xfs_sync_sb_buf() out of libxfs into xfs_ioctl.c

From: Carlos Maiolino

Date: Mon Oct 05 2026 - 14:07:37 EST


On Wed, 16 Sep 2026 08:43:35 +0800, Yun Zhou wrote:
> xfs_sync_sb_buf() dereferences mp->m_sb_bp and mp->m_rtsb_bp, which
> only exist in the kernel's struct xfs_mount, not in xfsprogs' libxfs.
> Keeping it in libxfs is a porting hazard.
>
> Its only caller, xfs_ioc_setlabel(), is kernel-only, so move it there
> and make it static.
>
> [...]

Applied to for-next, thanks!

[1/1] xfs: move xfs_sync_sb_buf() out of libxfs into xfs_ioctl.c
commit: 6654fca702b28b87cd365242498262080b1c223f

Best regards,
--
Carlos Maiolino <cem@xxxxxxxxxx>