mirror of
https://github.com/libvirt/libvirt.git
synced 2026-10-02 12:20:06 -05: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:
1 parent
d3489548b5
commit
4aa8a68faa
1 file changed
+1
-1
+1
-1
@@ -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++) {
|
||||
|
||||
Reference in new issue
Block a user