io_uring: manually fix compilation error

io_uring: manually fix compilation error

JIRA: https://issues.redhat.com/browse/RHEL-64867
Signed-off-by: Rado Vrbovsky <rvrbovsk@redhat.com>
This commit is contained in:
Jeff Moyer 2025-01-13 18:53:52 +00:00 committed by Rado Vrbovsky
parent cca5599fc7
commit ee0b3d14b6
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ static void *io_mem_alloc_compound(struct page **pages, int nr_pages,
int i, order;
order = get_order(size);
if (order > MAX_ORDER)
if (order > MAX_PAGE_ORDER)
return ERR_PTR(-ENOMEM);
else if (order)
gfp |= __GFP_COMP;