[PATCH] NFS Client mounts hang when exported directory do not exist
Eric Paris
eparis at redhat.com
Fri Apr 11 15:20:10 UTC 2008
On Fri, 2008-04-11 at 11:12 -0400, Steve Dickson wrote:
> This patch fixes a regression that was introduced by the string based mounts.
>
> nfs_mount() statically returns -EACCES for every error returned
> by the remote mounted. This is incorrect because -EACCES is
> an non-fatal error to the mount.nfs command. This error causes
> mount.nfs to retry the mount even in the case when the exported
> directory does not exist.
>
> This patch maps the errors returned by the remote mountd into
> valid errno values, exactly how it was done pre-string based
> mounts. By returning the correct errno enables mount.nfs
> to do the right thing.
Does this mean the EACCES can/will again become fatal in mount.nfs like
it used to be?
https://bugzilla.redhat.com/show_bug.cgi?id=439807
-Eric
More information about the Fedora-kernel-list
mailing list