bugfix: Fix typo MAX_PAGE_ORDER

This commit is contained in:
Tommaso Gagliardoni 2025-11-21 23:18:01 +01:00
parent db32b9253a
commit 0ef5bbf600

View file

@ -60,7 +60,7 @@ static struct bio *allocate_phys_bio(struct sflite_io *io)
/* Allocate pages in loop */
unsigned remaining_size = size;
unsigned order = MAX_PAGE_ORDER;
unsigned order = MAX_ORDER;
while (remaining_size) {
struct page *pages;
unsigned size_to_add;