mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 03:12:22 +00:00
nodeGetFreePages: Push forgotten change
In the previous patch I've changed the for loop bounds but forgot to 'git add' changes that adapt the rest of the code. Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
d3489548b5
commit
4aa8a68faa
@ -2041,7 +2041,7 @@ nodeGetFreePages(unsigned int npages,
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
lastCell = MIN(lastCell, startCell + cellCount);
|
||||
lastCell = MIN(lastCell, startCell + (int) cellCount - 1);
|
||||
|
||||
for (cell = startCell; cell <= lastCell; cell++) {
|
||||
for (i = 0; i < npages; i++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user