2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-09-01 23:05:39 +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

@@ -15,7 +15,15 @@ struct ns_id {
pid_t pid;
struct ns_desc *nd;
struct ns_id *next;
futex_t created; /* boolean */
/*
* For mount namespaces on restore -- indicates that
* the namespace in question is created (all mounts
* are mounted) and other tasks may do setns on it
* and proceed.
*/
futex_t ns_created;
union {
struct {
struct mount_info *mntinfo_list;