diff options
| author | Christoph Hellwig <[email protected]> | 2025-10-03 10:12:48 +0000 |
|---|---|---|
| committer | Carlos Maiolino <[email protected]> | 2025-10-21 09:32:50 +0000 |
| commit | 0f41997b1b2b769b73415512d2afaae80630e4fe (patch) | |
| tree | 2409df5667bd0aa664832908468919208d0faa39 /lib/mpi/mpi-mod.c | |
| parent | xfs: cache open zone in inode->i_private (diff) | |
| download | kernel-0f41997b1b2b769b73415512d2afaae80630e4fe.tar.gz kernel-0f41997b1b2b769b73415512d2afaae80630e4fe.zip | |
xfs: don't use __GFP_NOFAIL in xfs_init_fs_context
With enough debug options enabled, struct xfs_mount is larger
than 4k and thus NOFAIL allocations won't work for it.
xfs_init_fs_context is early in the mount process, and if we really
are out of memory there we'd better give up ASAP anyway.
Fixes: 7b77b46a6137 ("xfs: use kmem functions for struct xfs_mount")
Reported-by: [email protected]
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Carlos Maiolino <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions
