X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=utils%2Fmount%2Fstropts.c;h=d52e21a8749c17d770314c7863e96e49f4efbb79;hb=e18d56286b81d61c58ea1d4cb2539530695226e3;hp=4032bf3e7aed502616a8b76c1e4ef79d193fc36f;hpb=9da66f8898a69b77121a4f2ae785e9cd29e94e6c;p=nfs-utils.git diff --git a/utils/mount/stropts.c b/utils/mount/stropts.c index 4032bf3..d52e21a 100644 --- a/utils/mount/stropts.c +++ b/utils/mount/stropts.c @@ -540,6 +540,8 @@ nfs_rewrite_pmap_mount_options(struct mount_options *options) errno = EOPNOTSUPP; else if (rpc_createerr.cf_stat == RPC_AUTHERROR) errno = EACCES; + else if (rpc_createerr.cf_stat == RPC_TIMEDOUT) + errno = ETIMEDOUT; else if (rpc_createerr.cf_error.re_errno != 0) errno = rpc_createerr.cf_error.re_errno; return 0;