Rev 354: removed bogus alignment check in http://samba.org/~tridge/ctdb

tridge at samba.org tridge at samba.org
Sat May 26 08:13:19 GMT 2007


------------------------------------------------------------
revno: 354
revision-id: tridge at samba.org-20070526081319-5d45ahkx4n0tgd6d
parent: tridge at samba.org-20070526064132-e3rizx7rz3bkj5ra
committer: Andrew Tridgell <tridge at samba.org>
branch nick: tridge
timestamp: Sat 2007-05-26 18:13:19 +1000
message:
  removed bogus alignment check
modified:
  tcp/tcp_io.c                   tcp_io.c-20061128004937-x70q1cu5xzg5g2tm-3
=== modified file 'tcp/tcp_io.c'
--- a/tcp/tcp_io.c	2007-05-26 06:35:41 +0000
+++ b/tcp/tcp_io.c	2007-05-26 08:13:19 +0000
@@ -85,12 +85,5 @@
 {
 	struct ctdb_tcp_node *tnode = talloc_get_type(node->private_data,
 						      struct ctdb_tcp_node);
-	struct ctdb_req_header *hdr = (struct ctdb_req_header *)data;
-
-	if (length & (CTDB_TCP_ALIGNMENT-1)) {
-		DEBUG(0,(__location__ " Length 0x%x not multiple of alignment op %d\n", 
-			 length, hdr->operation));
-	}
-
 	return ctdb_queue_send(tnode->queue, data, length);
 }



More information about the samba-cvs mailing list