Files
linux-stable-mirror/include/linux/xarray.h
Matthew Wilcox (Oracle) 461125e8f4 XArray: Add calls to might_alloc()
[ Upstream commit 1dd685c414 ]

Catch bogus GFP flags deterministically, instead of occasionally
when we actually have to allocate memory.

Reported-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Stable-dep-of: 99765233ab ("NFS: Fixup allocation flags for nfsiod's __GFP_NORETRY")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-08-28 16:24:13 +02:00

56 KiB