diff options
author | Petr Vorel <pvorel@suse.cz> | 2022-01-22 15:02:27 -0500 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2022-01-22 15:02:27 -0500 |
commit | c8381a0efe17e890ebd892d573f1c3d287526245 (patch) | |
tree | 978bd2d0eaacb5af3150bc1c5f09441f1d492a52 /utils | |
parent | 497ffdf8c332f7be9be13b231d328690589272ca (diff) | |
download | nfs-utils-master.tar.gz |
Patch for 497ffdf8 ('manpage: remove the no longer supported value
"vers2"') [1] didn't contain printf in exportfs.c (looks like debugging
info) and errno handling in stropts.c (maybe work on other patch) which
were applied. Thus removing it.
[1] https://lore.kernel.org/linux-nfs/20220117031356.13361-1-yoyang@redhat.com/raw
Signed-off-by: Petr Vorel <pvorel@suse.cz>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils')
-rw-r--r-- | utils/exportfs/exportfs.c | 2 | ||||
-rw-r--r-- | utils/mount/stropts.c | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/utils/exportfs/exportfs.c b/utils/exportfs/exportfs.c index c247425b..6ba615d1 100644 --- a/utils/exportfs/exportfs.c +++ b/utils/exportfs/exportfs.c @@ -307,14 +307,12 @@ 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 3ca69862..3c4e218a 100644 --- a/utils/mount/stropts.c +++ b/utils/mount/stropts.c @@ -973,8 +973,7 @@ fall_back: if ((result = nfs_try_mount_v3v2(mi, FALSE))) return result; - if (errno != EBUSY) - errno = olderrno; + errno = olderrno; return result; } |