[Devel,RHEL7,COMMIT] ve/modules: allow NFS modules autoload in Containers

Submitted by Konstantin Khorenko on Jan. 10, 2017, 4:34 p.m.

Details

Message ID 201701101634.v0AGY3W9001774@finist_cl7.x64_64.work.ct
State New
Series "modules: allow NFS modules autoload in containers"
Headers show

Commit Message

Konstantin Khorenko Jan. 10, 2017, 4:34 p.m.
The commit is pushed to "branch-rh7-3.10.0-514.vz7.27.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-514.vz7.27.8
------>
commit 7f69f148e3a20ac41d4f3e7c19193f4157d32028
Author: Stanislav Kinsburskiy <skinsbursky@virtuozzo.com>
Date:   Tue Jan 10 20:34:03 2017 +0400

    ve/modules: allow NFS modules autoload in Containers
    
    Otherwise Container online migration can fail.
    
    https://jira.sw.ru/browse/PSBM-58178
    
    Signed-off-by: Stanislav Kinsburskiy <skinsbursky@virtuozzo.com>
    Reviewed-by: Dmitry Safonov <dsafonov@virtuozzo.com>
---
 kernel/kmod.c | 4 ++++
 1 file changed, 4 insertions(+)

Patch hide | download patch | download mbox

diff --git a/kernel/kmod.c b/kernel/kmod.c
index 54c8be8..d2da80a 100644
--- a/kernel/kmod.c
+++ b/kernel/kmod.c
@@ -422,6 +422,10 @@  static const char * const ve0_allowed_mod[] = {
 
 	"rtnl-link-dummy",
 	"rtnl-link-vxlan",
+
+	/* NFS */
+	"nfsv3",
+	"nfsv4",
 };
 
 /*