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

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