X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fmount%2Fstropts.c;h=4007150103867590bee8c858b549d8a4a20ebd29;hp=a0b9e7fdf80a0f8967bda37c05b1ee34444769a0;hb=26a14b65991b79d317638f78dc6b4e5ac1ef712e;hpb=77997a364006619874a4585c6821da24666dbaa9 diff --git a/utils/mount/stropts.c b/utils/mount/stropts.c index a0b9e7f..4007150 100644 --- a/utils/mount/stropts.c +++ b/utils/mount/stropts.c @@ -668,9 +668,10 @@ static int nfs_try_mount(struct nfsmount_info *mi) /* * To deal with legacy Linux servers that don't * automatically export a pseudo root, retry - * ENOENT errors using version 3 + * ENOENT errors using version 3. And for + * Linux servers prior to 2.6.25, retry EPERM */ - if (errno != ENOENT) + if (errno != ENOENT && errno != EPERM) break; } }