[Devel] [PATCH RH7] enable rpc_pipefs mounts inside user namespaces
Vasily Averin
vvs at virtuozzo.com
Thu Jul 5 17:57:35 MSK 2018
this patch enables rpc_pipefs mounts inside containers,
required for nfsd in SLES11
https://jira.sw.ru/browse/PSBM-86395
Signed-off-by: Vasily Averin <vvs at virtuozzo.com>
-------------- next part --------------
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