]> git.proxmox.com Git - mirror_lxc.git/commitdiff
spelling: userns
authorJosh Soref <jsoref@users.noreply.github.com>
Tue, 30 Oct 2018 08:19:23 +0000 (08:19 +0000)
committerJosh Soref <jsoref@users.noreply.github.com>
Tue, 30 Oct 2018 08:19:23 +0000 (08:19 +0000)
Signed-off-by: Josh Soref <jsoref@gmail.com>
src/lxc/conf.c

index a5dc9b9fe642490311bbbc8a0c50fefab33ab67e..fbf569b0f7a3448ea27b4cfafde7824f89cfe7a5 100644 (file)
@@ -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 (;;) {
@@ -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 */