[Devel] [PATCH RHEL7 COMMIT] ve/sunrpc: enable rpc_pipefs mounts inside non-init user namespaces
Konstantin Khorenko
khorenko at virtuozzo.com
Fri Jul 6 12:07:28 MSK 2018
The commit is pushed to "branch-rh7-3.10.0-862.3.2.vz7.61.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-862.3.2.vz7.61.15
------>
commit a7fd40b066a8ebe0fbcdd80a4a950633ed3d6cd6
Author: Vasily Averin <vvs at virtuozzo.com>
Date: Fri Jul 6 12:07:27 2018 +0300
ve/sunrpc: enable rpc_pipefs mounts inside non-init user namespaces
This patch enables rpc_pipefs mounts inside Containers,
required for nfsd in SLES11-based Containers.
https://jira.sw.ru/browse/PSBM-86395
Signed-off-by: Vasily Averin <vvs at virtuozzo.com>
---
net/sunrpc/rpc_pipe.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/sunrpc/rpc_pipe.c b/net/sunrpc/rpc_pipe.c
index 7dc74c0ef4ef..acdc3478d728 100644
--- a/net/sunrpc/rpc_pipe.c
+++ b/net/sunrpc/rpc_pipe.c
@@ -1487,7 +1487,7 @@ static struct file_system_type rpc_pipe_fs_type = {
.name = "rpc_pipefs",
.mount = rpc_mount,
.kill_sb = rpc_kill_sb,
- .fs_flags = FS_VIRTUALIZED,
+ .fs_flags = FS_VIRTUALIZED|FS_USERNS_MOUNT,
};
MODULE_ALIAS_FS("rpc_pipefs");
MODULE_ALIAS("rpc_pipefs");
More information about the Devel
mailing list