Searched refs:new_ns (Results 1 – 1 of 1) sorted by relevance
752 struct namespace *new_ns; in copy_namespace() local769 new_ns = kmalloc(sizeof(struct namespace), GFP_KERNEL); in copy_namespace()770 if (!new_ns) in copy_namespace()773 atomic_set(&new_ns->count, 1); in copy_namespace()774 init_rwsem(&new_ns->sem); in copy_namespace()775 new_ns->root = NULL; in copy_namespace()776 INIT_LIST_HEAD(&new_ns->list); in copy_namespace()780 new_ns->root = copy_tree(namespace->root, namespace->root->mnt_root); in copy_namespace()782 list_add_tail(&new_ns->list, &new_ns->root->mnt_list); in copy_namespace()791 q = new_ns->root; in copy_namespace()[all …]