]> git.decadent.org.uk Git - nfs-utils.git/commit
mount.nfs: Support "-t nfs,vers=4" mounts in the kernel
authorChuck Lever <chuck.lever@oracle.com>
Mon, 14 Sep 2009 17:55:36 +0000 (13:55 -0400)
committerSteve Dickson <steved@redhat.com>
Mon, 14 Sep 2009 17:55:36 +0000 (13:55 -0400)
commit74badf6f30f7aea95e9d784244488084dbadcb55
treeb9b51f825d68acfbfc16e1cc789c096a9a00d203
parentb2a3cd590442309d40e9dd6d43213445df250694
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>
utils/mount/network.c
utils/mount/network.h
utils/mount/nfsumount.c
utils/mount/stropts.c