[patch 14/23] openmosix/openmosix-kcomd-typo-fix.patch

Florian Delizy <[email protected]> Mon, 25 Sep 2006 17:33:25 +0200
Newsgroups gmane.linux.cluster.openmosix.devel
Message-ID <[email protected]>
Re-send on Matt's advise


-- Florian

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
openMosix-devel mailing list
openMosix-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/openmosix-devel
openmosix-kcomd-typo-fix.patch (text/x-patch, 955 B)
Index: linux/hpc/kcom.c
===================================================================
--- linux.orig/hpc/kcom.c	2006-09-22 17:05:05.000000000 +0200
+++ linux/hpc/kcom.c	2006-09-22 17:05:19.000000000 +0200
@@ -938,14 +938,14 @@
 	int i=-1;
 
 	printk("wait_for_response...for msgid %u\n", msgid);
-		list_for_each_entry_safe(pkt, pkt_next, &task->in_packs, list)
-			// FIXME:  check for resp or ack, too.
-			if (msgid==pkt->msgid) {
-				i=pkt->len;
-				list_del(&pkt->list);
-				kmem_cache_free(kcom_pkt_cachep, pkt);
-				printk("wait_for_response: i=%d, addr=%lu pkt->resp=%s\n", i, pkt->addr, pkt->resp);
-			}
+	list_for_each_entry_safe(pkt, pkt_next, &task->in_packs, list)
+		// FIXME:  check for resp or ack, too.
+		if (msgid==pkt->msgid) {
+			i=pkt->len;
+			list_del(&pkt->list);
+			kmem_cache_free(kcom_pkt_cachep, pkt);
+			printk("wait_for_response: i=%d, addr=%lu pkt->resp=%s\n", i, pkt->addr, pkt->resp);
+		}
 	return i;
 
 }