Message ID | 1289825123-13716-1-git-send-email-sjayaraman@suse.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index 251a17c..c3a2323 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c @@ -2780,7 +2780,10 @@ try_mount_again: if (IS_ERR(tcon)) { rc = PTR_ERR(tcon); tcon = NULL; - goto remote_path_check; + if (rc == -EREMOTEIO) + goto remote_path_check; + else + goto mount_fail_check; } /* do not care if following two calls succeed - informational */