summaryrefslogtreecommitdiffstats
path: root/utils/statd/simulate.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2016-12-06 10:42:22 -0500
committerSteve Dickson <steved@redhat.com>2016-12-06 11:15:21 -0500
commitcf73923358c47238088cbdd0bffdf1b7a4b7d0e7 (patch)
tree0f22619188d65ff1532b6e16d8d2eeaac50d83b3 /utils/statd/simulate.c
parent37c07fa0b74a29dea18d359068e9189c5159c49d (diff)
downloadnfs-utils-cf73923358c47238088cbdd0bffdf1b7a4b7d0e7.tar.gz
nfs-utils-cf73923358c47238088cbdd0bffdf1b7a4b7d0e7.tar.xz
nfs-utils-cf73923358c47238088cbdd0bffdf1b7a4b7d0e7.zip
mount: don't hide temporary error code on timeout.
If a mount attempt times out due to repeated non-permanent errors, we always report ETIMEDOUT rather than the actual error. Errors like "ECONNREFUSED" or "EHOSTUNREACH" or "ESTALE" might be more useful than the generic "ETIMEDOUT". So preserve the error code. Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/statd/simulate.c')
0 files changed, 0 insertions, 0 deletions