2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 22:05:36 +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:
Pavel Tikhomirov
2016-06-25 09:53:00 +03:00
committed by Pavel Emelyanov
parent a07a1724e3
commit cfcf07712c

View File

@@ -30,7 +30,7 @@ void iovec2pagemap(struct iovec *iov, PagemapEntry *pe)
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)
{
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;
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,
bunch->iov_len, bunch->iov_len + len);
bunch->iov_len += len;