Re: 6.1.132-rc1 build regression on Azure x86 and arm64 VM

From: Leah Rumancik
Date: Wed Mar 19 2025 - 19:51:43 EST


Hey this is my bad, I cherry picked the fix to my local 6.1.y, running
tests now, should be out for review tomo or friday.

Thanks Frank for finding the missing commit!
(https://lore.kernel.org/stable/8c6125d7-363c-42b3-bdbb-f802cb8b4408@xxxxxx/)

- leah

On Wed, Mar 19, 2025 at 3:25 PM Hardik Garg <hargar@xxxxxxxxxxxxxxxxxxx> wrote:
>
> v6.1.132-rc1 build fails on Azure x86 and arm64 VM:
>
> fs/xfs/libxfs/xfs_alloc.c: In function '__xfs_free_extent_later':
> fs/xfs/libxfs/xfs_alloc.c:2551:51: error: 'mp' undeclared (first use in this function); did you mean 'tp'?
> 2551 | if (XFS_IS_CORRUPT(mp, !xfs_verify_fsbext(mp, bno, len)))
> | ^~
> ./include/linux/compiler.h:78:45: note: in definition of macro 'unlikely'
> 78 | # define unlikely(x) __builtin_expect(!!(x), 0)
> | ^
> fs/xfs/libxfs/xfs_alloc.c:2551:13: note: in expansion of macro 'XFS_IS_CORRUPT'
> 2551 | if (XFS_IS_CORRUPT(mp, !xfs_verify_fsbext(mp, bno, len)))
> | ^~~~~~~~~~~~~~
> fs/xfs/libxfs/xfs_alloc.c:2551:51: note: each undeclared identifier is reported only once for each function it appears in
> 2551 | if (XFS_IS_CORRUPT(mp, !xfs_verify_fsbext(mp, bno, len)))
> | ^~
> ./include/linux/compiler.h:78:45: note: in definition of macro 'unlikely'
> 78 | # define unlikely(x) __builtin_expect(!!(x), 0)
> | ^
> fs/xfs/libxfs/xfs_alloc.c:2551:13: note: in expansion of macro 'XFS_IS_CORRUPT'
> 2551 | if (XFS_IS_CORRUPT(mp, !xfs_verify_fsbext(mp, bno, len)))
> | ^~~~~~~~~~~~~~
> In file included from ./fs/xfs/xfs.h:22,
> from fs/xfs/libxfs/xfs_alloc.c:6:
> ./fs/xfs/xfs_linux.h:225:63: warning: left-hand operand of comma expression has no effect [-Wunused-value]
> 225 | __this_address), \
> | ^
> fs/xfs/libxfs/xfs_alloc.c:2551:13: note: in expansion of macro 'XFS_IS_CORRUPT'
> 2551 | if (XFS_IS_CORRUPT(mp, !xfs_verify_fsbext(mp, bno, len)))
> | ^~~~~~~~~~~~~~
> CC [M] net/ipv4/netfilter/arpt_mangle.o
> CC net/unix/scm.o
> make[3]: *** [scripts/Makefile.build:250: fs/xfs/libxfs/xfs_alloc.o] Error 1
> make[2]: *** [scripts/Makefile.build:503: fs/xfs] Error 2
>
>
>
> Tested-by: Hardik Garg <hargar@xxxxxxxxxxxxxxxxxxx>
>
>
>
> Thanks,
> Hardik
>
>