mirror of
https://github.com/checkpoint-restore/criu
synced 2025-09-01 14:55:39 +00:00
dedup: fix typo
s/batch/bunch/ Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com> Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
a07a1724e3
commit
cfcf07712c
@@ -30,7 +30,7 @@ void iovec2pagemap(struct iovec *iov, PagemapEntry *pe)
|
|||||||
pe->nr_pages = iov->iov_len / PAGE_SIZE;
|
pe->nr_pages = iov->iov_len / PAGE_SIZE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline bool can_extend_batch(struct iovec *bunch,
|
static inline bool can_extend_bunch(struct iovec *bunch,
|
||||||
unsigned long off, unsigned long len)
|
unsigned long off, unsigned long len)
|
||||||
{
|
{
|
||||||
return /* The next region is the continuation of the existing */
|
return /* The next region is the continuation of the existing */
|
||||||
@@ -45,7 +45,7 @@ static int punch_hole(struct page_read *pr, unsigned long off,
|
|||||||
int ret;
|
int ret;
|
||||||
struct iovec * bunch = &pr->bunch;
|
struct iovec * bunch = &pr->bunch;
|
||||||
|
|
||||||
if (!cleanup && can_extend_batch(bunch, off, len)) {
|
if (!cleanup && can_extend_bunch(bunch, off, len)) {
|
||||||
pr_debug("pr%d:Extend bunch len from %zu to %lu\n", pr->id,
|
pr_debug("pr%d:Extend bunch len from %zu to %lu\n", pr->id,
|
||||||
bunch->iov_len, bunch->iov_len + len);
|
bunch->iov_len, bunch->iov_len + len);
|
||||||
bunch->iov_len += len;
|
bunch->iov_len += len;
|
||||||
|
Reference in New Issue
Block a user