Commit 461125e8 authored by Matthew Wilcox (Oracle)'s avatar Matthew Wilcox (Oracle) Committed by Greg Kroah-Hartman
Browse files

XArray: Add calls to might_alloc()



[ Upstream commit 1dd685c4 ]

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

Reported-by: default avatarNikolay Borisov <nborisov@suse.com>
Signed-off-by: default avatarMatthew Wilcox (Oracle) <willy@infradead.org>
Stable-dep-of: 99765233 ("NFS: Fixup allocation flags for nfsiod's __GFP_NORETRY")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent b23afb4a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment