2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 22:05:36 +00:00

ns: Rename "created" futex and comment what it is

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Pavel Emelyanov
2014-11-07 20:25:05 +04:00
parent ee2e8e5bb9
commit f33908a897
3 changed files with 13 additions and 5 deletions

View File

@@ -129,7 +129,7 @@ struct ns_id *rst_new_ns_id(unsigned int id, pid_t pid, struct ns_desc *nd)
nsid->nd = nd;
nsid->id = id;
nsid->pid = pid;
futex_set(&nsid->created, 0);
futex_set(&nsid->ns_created, 0);
nsid->next = ns_ids;
ns_ids = nsid;