[Devel] [PATCH RH8] ve/nfsd: allow nfsd mount inside container init userns
Pavel Tikhomirov
ptikhomirov at virtuozzo.com
Wed Jun 23 12:50:13 MSK 2021
https://jira.sw.ru/browse/PSBM-130825
Fixes: 92cc82cd5998 ("ve/fs/nfsd: NFSd containerization")
Signed-off-by: Pavel Tikhomirov <ptikhomirov at virtuozzo.com>
---
fs/nfsd/nfsctl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c
index ae928c0d0dc8..cab0e75e4294 100644
--- a/fs/nfsd/nfsctl.c
+++ b/fs/nfsd/nfsctl.c
@@ -1411,7 +1411,7 @@ static struct file_system_type nfsd_fs_type = {
.name = "nfsd",
.mount = nfsd_mount,
.kill_sb = nfsd_umount,
- .fs_flags = FS_VIRTUALIZED,
+ .fs_flags = FS_VIRTUALIZED|FS_VE_MOUNT,
};
MODULE_ALIAS_FS("nfsd");
--
2.31.1
More information about the Devel
mailing list