summaryrefslogtreecommitdiffstats
path: root/utils/mount/network.h
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2009-09-14 13:55:36 -0400
committerSteve Dickson <steved@redhat.com>2009-09-14 13:55:36 -0400
commit74badf6f30f7aea95e9d784244488084dbadcb55 (patch)
treeb9b51f825d68acfbfc16e1cc789c096a9a00d203 /utils/mount/network.h
parentb2a3cd590442309d40e9dd6d43213445df250694 (diff)
downloadnfs-utils-74badf6f30f7aea95e9d784244488084dbadcb55.tar.gz
nfs-utils-74badf6f30f7aea95e9d784244488084dbadcb55.tar.xz
nfs-utils-74badf6f30f7aea95e9d784244488084dbadcb55.zip
mount.nfs: Support "-t nfs,vers=4" mounts in the kernel
Support "vers=4" in nfs_nfs_version() Skip UMNT call for "-t nfs -o vers=4" mounts For "-t nfs -o vers=4" mounts, we want to skip v2/v3 version/transport negotiation, but be sure to append the "clientaddr" option. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com> Tested-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/mount/network.h')
-rw-r--r--utils/mount/network.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/mount/network.h b/utils/mount/network.h
index db5134c..402e0a5 100644
--- a/utils/mount/network.h
+++ b/utils/mount/network.h
@@ -56,6 +56,7 @@ int clnt_ping(struct sockaddr_in *, const unsigned long,
struct mount_options;
+int nfs_nfs_version(struct mount_options *options, unsigned long *version);
int nfs_options2pmap(struct mount_options *,
struct pmap *, struct pmap *);