VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Marcin Slusarz <marcin.slusarz@gmail.com> 2008-05-11 22:01:29 +0200 committer: David Teigland <teigland@redhat.com> 2008-05-19 15:37:27 -0500 commit: 0035a4b14931eb62a5f8a7762284c18e7ab14289 parent: 88ad23195e4609cef73b6fcf2b4c08aaaef33204
Commit Summary:
dlm: tcp_connect_to_sock should check for -EINVAL, not EINVAL
Diffstat:
1 file changed, 1 insertion, 1 deletion
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:
 	 * errors we try again until the max number of retries is reached.
 	 */
 	if (result != -EHOSTUNREACH && result != -ENETUNREACH &&
-	    result != -ENETDOWN && result != EINVAL
+	    result != -ENETDOWN && result != -EINVAL
 	    && result != -EPROTONOSUPPORT) {
 		lowcomms_connect_sock(con);
 		result = 0;