diff options
author | Marcin Slusarz <marcin.slusarz@gmail.com> | 2008-05-11 16:01:29 -0400 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2008-05-19 16:37:27 -0400 |
commit | 0035a4b14931eb62a5f8a7762284c18e7ab14289 (patch) | |
tree | 460232289d1c47eeacdcdf14d29c8763c2fca39f /fs | |
parent | 88ad23195e4609cef73b6fcf2b4c08aaaef33204 (diff) |
dlm: tcp_connect_to_sock should check for -EINVAL, not EINVAL
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Cc: Christine Caulfield <ccaulfie@redhat.com>
Cc: David Teigland <teigland@redhat.com>
Cc: cluster-devel@redhat.com
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/dlm/lowcomms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dlm/lowcomms.c b/fs/dlm/lowcomms.c index c7d232a9ae12..637018c891ef 100644 --- a/fs/dlm/lowcomms.c +++ b/fs/dlm/lowcomms.c | |||
@@ -931,7 +931,7 @@ out_err: | |||
931 | * errors we try again until the max number of retries is reached. | 931 | * errors we try again until the max number of retries is reached. |
932 | */ | 932 | */ |
933 | if (result != -EHOSTUNREACH && result != -ENETUNREACH && | 933 | if (result != -EHOSTUNREACH && result != -ENETUNREACH && |
934 | result != -ENETDOWN && result != EINVAL | 934 | result != -ENETDOWN && result != -EINVAL |
935 | && result != -EPROTONOSUPPORT) { | 935 | && result != -EPROTONOSUPPORT) { |
936 | lowcomms_connect_sock(con); | 936 | lowcomms_connect_sock(con); |
937 | result = 0; | 937 | result = 0; |