Re: [PATCH] xfs: use inode_init_always_gfp with __GFP_NOFAIL in xfs_inode_alloc
Carlos Maiolino <[email protected]>
| Newsgroups | org.kernel.vger.linux-xfs |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 10 Aug 2026 08:38:38 -0700, Christoph Hellwig wrote:
> Just like the inode allocation itself, allocation of the security data
> inside of inode_init_always(_gfp) must not fail here as we can be inside
> an already dirty transaction context. Note that we do not have to pass
> GFP_NOFS explicitly as we are already in a nofs context when in a
> transaction, as seen by the call to alloc_inode_sb.
>
> Also update the comment about this a bit to be more clear.
>
> [...]
Applied to for-next, thanks!
[1/1] xfs: use inode_init_always_gfp with __GFP_NOFAIL in xfs_inode_alloc
commit: 4e07cd78e159a8c6b028e5dc5f4e5bf06067d969
Best regards,
--
Carlos Maiolino <[email protected]>