[CRIU] [PATCH] dedup: fix typo
Pavel Tikhomirov
ptikhomirov at virtuozzo.com
Fri Jun 24 23:53:00 PDT 2016
s/batch/bunch/
Signed-off-by: Pavel Tikhomirov <ptikhomirov at virtuozzo.com>
---
criu/pagemap.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/criu/pagemap.c b/criu/pagemap.c
index 93eb999..49bf9fa 100644
--- a/criu/pagemap.c
+++ b/criu/pagemap.c
@@ -29,7 +29,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 */
@@ -44,7 +44,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;
--
2.5.5
More information about the CRIU
mailing list