]> git.decadent.org.uk Git - nfs-utils.git/commit
mount.nfs: Prepare way for "vers=4,rdma" mounts
authorChuck Lever <chuck.lever@oracle.com>
Wed, 8 Sep 2010 17:28:24 +0000 (13:28 -0400)
committerSteve Dickson <steved@redhat.com>
Thu, 9 Sep 2010 14:38:48 +0000 (10:38 -0400)
commit911630538580cdaaee1c37cdf1a8b35b8ed6b23f
tree59c3dacde0b3a5e18e6eeb3f6ad12c1800c4618f
parentf99d1b8e8768ab96b51bed52f21a626ac9a4797f
mount.nfs: Prepare way for "vers=4,rdma" mounts

At some point, when the kernel starts to support "vers=4,rdma" mounts,
we will want the mount.nfs command to pass "vers=4,rdma" mounts
instead of rejecting them.

Assuming that the kernel will reject these today with EPROTONOSUPPORT,
that would cause the version fallback logic to go to "vers=3,rdma"
automatically.  So the extra check we have now is not needed anyway.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
utils/mount/stropts.c