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:
parent
cca5599fc7
commit
ee0b3d14b6
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue