Re: [PATCH v2] xfs: Remove redundant NULL check after __GFP_NOFAIL

From: Carlos Maiolino

Date: Thu Mar 05 2026 - 04:49:10 EST


On Wed, 04 Mar 2026 19:29:14 +0800, hongao wrote:
> kzalloc() is called with __GFP_NOFAIL, so a NULL return is not expected.
> Drop the redundant !map check in xfs_dabuf_map().
> Also switch the nirecs-sized allocation to kcalloc().
>
>

Applied to for-next, thanks!

[1/1] xfs: Remove redundant NULL check after __GFP_NOFAIL
commit: 281cb17787d4284a7790b9cbd80fded826ca7739

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