summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7d9dcf3)
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>
static int is_permanent_error(int error)
{
switch (error) {
static int is_permanent_error(int error)
{
switch (error) {
case ESTALE:
case ETIMEDOUT:
case ECONNREFUSED:
case ESTALE:
case ETIMEDOUT:
case ECONNREFUSED: