Skip to content

Commit

Permalink
[vpsAdminOS] WIP: Enable NFS server in containers
Browse files Browse the repository at this point in the history
Signed-off-by: Pavel Snajdr <snajpa@snajpa.net>
  • Loading branch information
snajpa committed Jun 1, 2024
1 parent 38595d3 commit 39212f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions fs/nfsd/nfsctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1416,6 +1416,7 @@ static struct file_system_type nfsd_fs_type = {
.name = "nfsd",
.init_fs_context = nfsd_init_fs_context,
.kill_sb = nfsd_umount,
.fs_flags = FS_USERNS_MOUNT,
};
MODULE_ALIAS_FS("nfsd");

Expand Down
1 change: 1 addition & 0 deletions net/sunrpc/rpc_pipe.c
Original file line number Diff line number Diff line change
Expand Up @@ -1468,6 +1468,7 @@ static struct file_system_type rpc_pipe_fs_type = {
.name = "rpc_pipefs",
.init_fs_context = rpc_init_fs_context,
.kill_sb = rpc_kill_sb,
.fs_flags = FS_USERNS_MOUNT,
};
MODULE_ALIAS_FS("rpc_pipefs");
MODULE_ALIAS("rpc_pipefs");
Expand Down

0 comments on commit 39212f1

Please sign in to comment.