Skip to content

Commit

Permalink
spelling: userns
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Soref <jsoref@gmail.com>
  • Loading branch information
jsoref committed Oct 30, 2018
1 parent ae52f39 commit 7ded5fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lxc/conf.c
Expand Up @@ -1404,7 +1404,7 @@ int lxc_chroot(const struct lxc_rootfs *rootfs)
* unmounted between read operations from the mountinfo. So we need to
* read mountinfo a few times.
*
* This loop can be skipped if a container uses unserns, because all
* This loop can be skipped if a container uses userns, because all
* inherited mounts are locked and we should live with all this trash.
*/
for (;;) {
Expand Down Expand Up @@ -1447,7 +1447,7 @@ int lxc_chroot(const struct lxc_rootfs *rootfs)
break;
}

/* This also can be skipped if a container uses unserns. */
/* This also can be skipped if a container uses userns. */
(void)umount2("./proc", MNT_DETACH);

/* It is weird, but chdir("..") moves us in a new root */
Expand Down

0 comments on commit 7ded5fa

Please sign in to comment.