X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fmount%2Fstropts.c;fp=utils%2Fmount%2Fstropts.c;h=a8b22ce9a0d14bcd89012360cfac52e7f72913bc;hp=9695c739c4f53844a65119b3dd049faca2b304ee;hb=911630538580cdaaee1c37cdf1a8b35b8ed6b23f;hpb=f99d1b8e8768ab96b51bed52f21a626ac9a4797f diff --git a/utils/mount/stropts.c b/utils/mount/stropts.c index 9695c73..a8b22ce 100644 --- a/utils/mount/stropts.c +++ b/utils/mount/stropts.c @@ -302,13 +302,6 @@ static int nfs_set_version(struct nfsmount_info *mi) if (strncmp(mi->type, "nfs4", 4) == 0) mi->version = 4; - else { - unsigned long protocol; - if (!nfs_nfs_protocol(mi->options, &protocol)) - return 0; - if (protocol == NFSPROTO_RDMA) - mi->version = 3; - } /* * If we still don't know, check for version-specific