diff options
author | Neil Brown <neilb@suse.de> | 2008-07-16 13:15:46 -0400 |
---|---|---|
committer | Steve Dickson <steved@dickson.boston.devel.redhat.com> | 2008-07-16 13:15:46 -0400 |
commit | 8508942e7244017325690e2d0c17429fa0cb9873 (patch) | |
tree | b8731eafc4cffb5661022f456888c0a3aabfa5e5 /support/export/export.c | |
parent | 8e158aa65577b96494eaa94c4983eed1449116dc (diff) | |
download | nfs-utils-8508942e7244017325690e2d0c17429fa0cb9873.tar.gz nfs-utils-8508942e7244017325690e2d0c17429fa0cb9873.tar.xz nfs-utils-8508942e7244017325690e2d0c17429fa0cb9873.zip |
If an NFS server is only listening on TCP for portmap (as apparently
MS-Windows-Server2003R2SP2 does), mount doesn't cope. There is retry
logic in case the initial choice of version/etc doesn't work, but it
doesn't cope with mountd needing tcp.
So:
Fix probe_port so that a TIMEDOUT error doesn't simply abort
but probes with other protocols (e.g. tcp).
Fix rewrite_mount_options to extract the mountproto option before
doing a probe, then set mountproto (and mount prot) based
on the result.
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/export/export.c')
0 files changed, 0 insertions, 0 deletions