]> git.decadent.org.uk Git - nfs-utils.git/commit
Change how mount.nfs handles EACCES errors. Currently,
authorJeff Layton <jlaton@redhat.com>
Mon, 14 Apr 2008 13:03:13 +0000 (09:03 -0400)
committerSteve Dickson <steved@redhat.com>
Mon, 14 Apr 2008 13:03:13 +0000 (09:03 -0400)
commit697e28939b7d0a3e0ffe3b6bd516213a55f5a063
treeb6c6d65be3d2decbcc1092ae97245fb07ee53cb7
parent7d9dcf303b30aeb8b3dc06616d42a8abbdc61b27
Change how mount.nfs handles EACCES errors. Currently,
EACCES is a non-fatal error which means the mount will be
retied. This caused mounts to hang for 2mins when the client
does not have permission to access the export. In a strict
interpretation, the error that should be returned is EPERM, but
this is not always the case. So due to the fuzzy interpretation,
of EPERM and EACCES, EACCESS is now a fatal error

Signed-off-by: Steve Dickson <steved@redhat.com>
utils/mount/stropts.c