Blame SOURCES/autofs-5.1.3-dont-probe-NFSv2-by-default.patch

306fa1
autofs-5.1.3 - dont probe NFSv2 by default
306fa1
306fa1
From: Ian Kent <raven@themaw.net>
306fa1
306fa1
NFS v2 hasn't been recommended for use for a long time now so don't
306fa1
include it in the avialability probe unless it is specified as an
306fa1
NFS mount option.
306fa1
306fa1
Signed-off-by: Ian Kent <raven@themaw.net>
306fa1
---
306fa1
 CHANGELOG            |    1 +
306fa1
 include/replicated.h |    2 +-
306fa1
 2 files changed, 2 insertions(+), 1 deletion(-)
306fa1
306fa1
--- autofs-5.0.7.orig/CHANGELOG
306fa1
+++ autofs-5.0.7/CHANGELOG
306fa1
@@ -305,6 +305,7 @@
306fa1
 - mark removed cache entry negative.
306fa1
 - remove some redundant rpc library code.
306fa1
 - add port parameter to rpc_ping().
306fa1
+- dont probe NFSv2 by default.
306fa1
 
306fa1
 25/07/2012 autofs-5.0.7
306fa1
 =======================
306fa1
--- autofs-5.0.7.orig/include/replicated.h
306fa1
+++ autofs-5.0.7/include/replicated.h
306fa1
@@ -26,7 +26,7 @@
306fa1
 #define NFS2_SUPPORTED		0x0010
306fa1
 #define NFS3_SUPPORTED		0x0020
306fa1
 #define NFS4_SUPPORTED		0x0040
306fa1
-#define NFS_VERS_MASK		(NFS2_SUPPORTED|NFS3_SUPPORTED)
306fa1
+#define NFS_VERS_MASK		(NFS3_SUPPORTED)
306fa1
 #define NFS4_VERS_MASK		(NFS4_SUPPORTED)
306fa1
 
306fa1
 #define NFS2_REQUESTED		NFS2_SUPPORTED