On Thu, 2008-01-17 at 16:51 +0100, Guillaume Rousse wrote:
> According to nfs4 developpers, autofs is suspect there:
> http://linux-nfs.org/pipermail/nfsv4/2007-December/007332.html

Please try this patch and let me know how it goes.
Ian

---
diff --git a/modules/mount_nfs.c b/modules/mount_nfs.c
index 0e7aebe..df01fd6 100644
--- a/modules/mount_nfs.c
+++ b/modules/mount_nfs.c
@@ -129,7 +129,7 @@ int mount_mount(struct autofs_point *ap, const char *root, 
const char *name, int
        }
 
        if (strcmp(fstype, "nfs4") == 0)
-               vers = NFS4_VERS_MASK | NFS_PROTO_MASK;
+               vers = NFS4_VERS_MASK | NFS_TCP_SUPPORTED;
        else
                vers = NFS_VERS_MASK | NFS_PROTO_MASK;
 


_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to