diff options
author | Steve Dickson <steved@redhat.com> | 2017-05-04 09:50:49 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2017-05-05 11:07:00 -0400 |
commit | 0277815d9509ffc197c27973313f364616245704 (patch) | |
tree | b1e4f13eb0e8ec60e0fa167d4369bf8b97a1f468 /support/include/nfs_paths.h | |
parent | 7b33590fee9515e49cda460285acc5d347a800b5 (diff) | |
download | nfs-utils-0277815d9509ffc197c27973313f364616245704.tar.gz nfs-utils-0277815d9509ffc197c27973313f364616245704.tar.xz nfs-utils-0277815d9509ffc197c27973313f364616245704.zip |
mount.nfs: Restore errno after v3 mounts on ECONNREFUSED errors
Commit 65ac59cd introduced code that tries v3 mounts
when the the v4 mount fails with ECONNREFUSED. This
code allows failing back to v3 to work correctly.
When the v3 mount fails the original errno value has
been over rewritten. In these case the errno value
needs to be restored to ECONNREFUSED.
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/include/nfs_paths.h')
0 files changed, 0 insertions, 0 deletions