aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYongcheng Yang <yongcheng.yang@gmail.com>2022-01-20 11:16:32 -0500
committerSteve Dickson <steved@redhat.com>2022-01-20 11:16:32 -0500
commit497ffdf8c332f7be9be13b231d328690589272ca (patch)
tree1950c437571da9ed0705546aa47c4909d7f9ff04
parentd53626a3a8e12c27481caac2f6be9d0956fea90b (diff)
downloadnfs-utils-497ffdf8c332f7be9be13b231d328690589272ca.tar.gz
manpage: remove the no longer supported value "vers2"
Signed-off-by: Yongcheng Yang <yongcheng.yang@gmail.com> Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r--systemd/nfs.conf.man1
-rw-r--r--utils/exportfs/exportfs.c2
-rw-r--r--utils/mount/stropts.c3
-rw-r--r--utils/mountd/mountd.man3
-rw-r--r--utils/nfsd/nfsd.man2
5 files changed, 5 insertions, 6 deletions
diff --git a/systemd/nfs.conf.man b/systemd/nfs.conf.man
index 4436a38a..be487a11 100644
--- a/systemd/nfs.conf.man
+++ b/systemd/nfs.conf.man
@@ -171,7 +171,6 @@ Recognized values:
.BR lease-time ,
.BR udp ,
.BR tcp ,
-.BR vers2 ,
.BR vers3 ,
.BR vers4 ,
.BR vers4.0 ,
diff --git a/utils/exportfs/exportfs.c b/utils/exportfs/exportfs.c
index 6ba615d1..c247425b 100644
--- a/utils/exportfs/exportfs.c
+++ b/utils/exportfs/exportfs.c
@@ -307,12 +307,14 @@ static int exportfs_generic(char *arg, char *options, int verbose)
{
char *path;
+printf("exportfs_generic: arg '%s'\n", arg);
if ((path = strchr(arg, ':')) != NULL)
*path++ = '\0';
if (!path || *path != '/')
return 1;
+printf("exportfs_generic: path '%s'\n", path);
exportfs_parsed(arg, path, options, verbose);
return 0;
}
diff --git a/utils/mount/stropts.c b/utils/mount/stropts.c
index 3c4e218a..3ca69862 100644
--- a/utils/mount/stropts.c
+++ b/utils/mount/stropts.c
@@ -973,7 +973,8 @@ fall_back:
if ((result = nfs_try_mount_v3v2(mi, FALSE)))
return result;
- errno = olderrno;
+ if (errno != EBUSY)
+ errno = olderrno;
return result;
}
diff --git a/utils/mountd/mountd.man b/utils/mountd/mountd.man
index 77e6299a..a206a3e2 100644
--- a/utils/mountd/mountd.man
+++ b/utils/mountd/mountd.man
@@ -286,10 +286,9 @@ The values recognized in the
section include
.BR TCP ,
.BR UDP ,
-.BR vers2 ,
.BR vers3 ", and"
.B vers4
-which each have same same meaning as given by
+which each have the same meaning as given by
.BR rpc.nfsd (8).
.SH TCP_WRAPPERS SUPPORT
diff --git a/utils/nfsd/nfsd.man b/utils/nfsd/nfsd.man
index 716f538b..634b8a63 100644
--- a/utils/nfsd/nfsd.man
+++ b/utils/nfsd/nfsd.man
@@ -156,8 +156,6 @@ Enable (with "on" or "yes" etc) or disable ("off", "no") UDP support.
.B TCP
Enable or disable TCP support.
.TP
-.B vers2
-.TP
.B vers3
.TP
.B vers4