[CRIU] [PATCH 5/7] remote: Fix typos
Radostin Stoyanov
rstoyanov1 at gmail.com
Sun Jul 8 19:47:09 MSK 2018
Signed-off-by: Radostin Stoyanov <rstoyanov1 at gmail.com>
---
criu/img-remote.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/criu/img-remote.c b/criu/img-remote.c
index 77dd0411..3adb569d 100644
--- a/criu/img-remote.c
+++ b/criu/img-remote.c
@@ -27,18 +27,18 @@
// List of images already in memory.
LIST_HEAD(rimg_head);
-// List of local operations currently in-progess.
+// List of local operations currently in-progress.
LIST_HEAD(rop_inprogress);
// List of local operations pending (reads on the restore side for images that
// still haven't arrived).
-
LIST_HEAD(rop_pending);
+
// List of images waiting to be forwarded. The head of the list is currently
// being forwarded.
LIST_HEAD(rop_forwarding);
-// List of snapshots (useful when doing incremental restores/dumps
+// List of snapshots (useful when doing incremental restores/dumps)
LIST_HEAD(snapshot_head);
// Snapshot id (setup at launch time by dump or restore).
@@ -366,7 +366,7 @@ static void rop_set_rimg(struct roperation* rop, struct rimage* rimg)
rop->curr_recv_buf = list_entry(rimg->buf_head.prev, struct rbuf, l);
}
else {
- // Writes or reads are simple. Just do it from the beginnig.
+ // Writes or reads are simple. Just do it from the beginning.
rop->curr_recv_buf = list_entry(rimg->buf_head.next, struct rbuf, l);
rop->curr_sent_buf = list_entry(rimg->buf_head.next, struct rbuf, l);
rop->curr_sent_bytes = 0;
@@ -537,7 +537,7 @@ void forward_remote_image(struct roperation* rop)
return;
}
- pr_info("[fd=%d] Fowarding %s request for %s:%s (%" PRIu64 " bytes\n",
+ pr_info("[fd=%d] Forwarding %s request for %s:%s (%" PRIu64 " bytes\n",
rop->fd,
rop->flags == O_RDONLY ? "read" :
rop->flags == O_APPEND ? "append" : "write",
--
2.17.1
More information about the CRIU
mailing list