]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
spelling: userns
authorJosh Soref <jsoref@users.noreply.github.com>
Tue, 30 Oct 2018 08:19:23 +0000 (08:19 +0000)
committerChristian Brauner <christian.brauner@ubuntu.com>
Thu, 22 Nov 2018 07:34:19 +0000 (08:34 +0100)
Signed-off-by: Josh Soref <jsoref@gmail.com>
src/lxc/conf.c

index 9cc555664808ba2b6d8a6ef4e85fbd8c00461119..ff1d4f16b0dd139616f41030e244ca626000b532 100644 (file)
@@ -1379,7 +1379,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 (;;) {
@@ -1422,7 +1422,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 */