[CRIU] [PATCH v4 17/17] mounts: mount spfs instead of NFSv3 and NFSv4

Stanislav Kinsburskiy skinsbursky at virtuozzo.com
Fri May 20 04:38:29 PDT 2016


Signed-off-by: Stanislav Kinsburskiy <skinsbursky at virtuozzo.com>
---
 criu/mount.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/criu/mount.c b/criu/mount.c
index 943d006..c103b45 100644
--- a/criu/mount.c
+++ b/criu/mount.c
@@ -29,6 +29,7 @@
 #include "fs-magic.h"
 #include "sysfs_parse.h"
 #include "autofs.h"
+#include "spfs.h"
 
 #include "images/mnt.pb-c.h"
 #include "images/binfmt-misc.pb-c.h"
@@ -1809,9 +1810,11 @@ static struct fstype fstypes[] = {
 	}, {
 		.name = "nfs",
 		.code = FSTYPE__NFS,
+		.mount = spfs_mount,
 	}, {
 		.name = "nfs4",
 		.code = FSTYPE__NFS4,
+		.mount = spfs_mount,
 	}
 };
 



More information about the CRIU mailing list