mount.nfs: Fix Typo auto negotiating code. (bz 2054300)

Signed-off-by: Steve Dickson <steved@redhat.com>
Resolves: bz2054300
This commit is contained in:
Steve Dickson 2022-07-28 16:55:00 -04:00
parent 7e5614398a
commit 613ee18afd
2 changed files with 5 additions and 2 deletions

View File

@ -24,7 +24,7 @@ index 3c4e218a..573df6ee 100644
return result;
- errno = olderrno;
+ if (errno != EBUSY || errno != EACCES)
+ if (errno != EBUSY && errno != EACCES)
+ errno = olderrno;
+
return result;

View File

@ -2,7 +2,7 @@ Summary: NFS utilities and supporting clients and daemons for the kernel NFS ser
Name: nfs-utils
URL: http://linux-nfs.org/
Version: 2.5.4
Release: 12%{?dist}
Release: 13%{?dist}
Epoch: 1
# group all 32bit related archs
@ -463,6 +463,9 @@ fi
%{_mandir}/*/nfsiostat.8.gz
%changelog
* Thu Jul 28 2022 Steve Dickson <steved@redhat.com> 2.5.4-13
- mount.nfs: Fix Typo auto negotiating code. (bz 2054300)
* Fri Jul 22 2022 Steve Dickson <steved@redhat.com> 2.5.4-12
- idmapd: Fix error status when nfs-idmapd exits (bz 2001764)
- mount.nfs Fix error reporting for already mounted shares (bz 2054300)