[Devel] [PATCH RHEL7 COMMIT] Revert "proc: use proper user_ns for mount"
Konstantin Khorenko
khorenko at virtuozzo.com
Fri Jul 21 11:00:37 MSK 2017
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.33.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-514.26.1.vz7.33.12
------>
commit c027c991c37e41c4fd8add0a6725c4368ed2fb01
Author: Konstantin Khorenko <khorenko at virtuozzo.com>
Date: Fri Jul 21 11:57:38 2017 +0400
Revert "proc: use proper user_ns for mount"
This reverts commit 81e2809b9dcb3e4370db3451891385ae1055a181.
Temporary revert due to
https://jira.sw.ru/browse/PSBM-68599
Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>
---
fs/proc/root.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/fs/proc/root.c b/fs/proc/root.c
index 402e6d6..eb4efc2 100644
--- a/fs/proc/root.c
+++ b/fs/proc/root.c
@@ -125,8 +125,7 @@ static struct dentry *proc_mount(struct file_system_type *fs_type,
return ERR_PTR(-EPERM);
}
- sb = sget_userns(fs_type, proc_test_super, proc_set_super, flags,
- ns->user_ns, ns);
+ sb = sget(fs_type, proc_test_super, proc_set_super, flags, ns);
if (IS_ERR(sb))
return ERR_CAST(sb);
More information about the Devel
mailing list