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

Submitted by Stanislav Kinsburskiy on May 20, 2016, 11:38 a.m.

Details

Message ID 20160520113829.360872.46181.stgit@skinsbursky-vz7-gold.qa.sw.ru
State Rejected
Series "NFS migration support"
Headers show

Commit Message

Stanislav Kinsburskiy May 20, 2016, 11:38 a.m.
Signed-off-by: Stanislav Kinsburskiy <skinsbursky@virtuozzo.com>
---
 criu/mount.c |    3 +++
 1 file changed, 3 insertions(+)

Patch hide | download patch | download mbox

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,
 	}
 };