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

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