From 51837a65eda72ae9fa24a6e0e8e3e7f157112ecc Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Wed, 30 Mar 2022 18:16:21 -0700 Subject: [PATCH] criu/files.c: some renames Codespell thinks that fo is misspelled of (or for), and flem is a misspelled phlegm. Rename both. Signed-off-by: Kir Kolyshkin --- criu/files.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/criu/files.c b/criu/files.c index 93c34108f..9725b8ad1 100644 --- a/criu/files.c +++ b/criu/files.c @@ -596,13 +596,13 @@ static int dump_one_file(struct pid *pid, int fd, int lfd, struct fd_opts *opts, int dump_my_file(int lfd, u32 *id, int *type) { struct pid me = {}; - struct fd_opts fo = {}; + struct fd_opts fdo = {}; FdinfoEntry e = FDINFO_ENTRY__INIT; me.real = getpid(); me.ns[0].virt = -1; /* FIXME */ - if (dump_one_file(&me, lfd, lfd, &fo, NULL, &e, NULL)) + if (dump_one_file(&me, lfd, lfd, &fdo, NULL, &e, NULL)) return -1; *id = e.id; @@ -1127,11 +1127,11 @@ int setup_and_serve_out(struct fdinfo_list_entry *fle, int new_fd) static int open_fd(struct fdinfo_list_entry *fle) { struct file_desc *d = fle->desc; - struct fdinfo_list_entry *flem; + struct fdinfo_list_entry *fle_m; int new_fd = -1, ret; - flem = file_master(d); - if (fle != flem) { + fle_m = file_master(d); + if (fle != fle_m) { BUG_ON(fle->stage != FLE_INITIALIZED); ret = receive_fd(fle); if (ret != 0)