projects
/
am-utils-6.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f091bc0
)
NFSv4 support
author
Christos Zoulas
<christos@zoulas.com>
Thu, 6 Oct 2011 14:57:32 +0000
(10:57 -0400)
committer
Christos Zoulas
<christos@zoulas.com>
Thu, 6 Oct 2011 14:57:32 +0000
(10:57 -0400)
libamu/amu.h
patch
|
blob
|
history
diff --git
a/libamu/amu.h
b/libamu/amu.h
index 5b12b1b2294d1034d42a9e5db6d201166242e57d..2b075f7d567b9ca1957a7c80baab956f17a0adcd 100644
(file)
--- a/
libamu/amu.h
+++ b/
libamu/amu.h
@@
-47,11
+47,14
@@
/*
* Decide what maximum level of NFS server to try and mount with.
*/
-#ifdef HAVE_FS_NFS3
+#if defined(HAVE_FS_NFS4)
+# define NFS_VERS_MAX NFS_VERSION4
+#elif defined(HAVE_FS_NFS3)
# define NFS_VERS_MAX NFS_VERSION3
#else /* not HAVE_FS_NFS3 */
# define NFS_VERS_MAX NFS_VERSION
#endif /* not HAVE_FS_NFS3 */
+# define NFS_VERS_MIN NFS_VERSION
/* some systems like ncr2 do not define this in <rpcsvc/mount.h> */
#ifndef MNTPATHLEN