Unverified Commit ddb20a15 by Josh Soref Committed by Christian Brauner

spelling: userns

Signed-off-by: 's avatarJosh Soref <jsoref@gmail.com>
parent eaae553b
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment