[DRBD-cvs] svn commit by lars - r2461 - trunk/drbd - make protocol C be protocol C again :-/

drbd-cvs at lists.linbit.com drbd-cvs at lists.linbit.com
Mon Sep 25 17:26:44 CEST 2006


Author: lars
Date: 2006-09-25 17:26:44 +0200 (Mon, 25 Sep 2006)
New Revision: 2461

Modified:
   trunk/drbd/drbd_receiver.c
Log:
make protocol C be protocol C again :-/

Modified: trunk/drbd/drbd_receiver.c
===================================================================
--- trunk/drbd/drbd_receiver.c	2006-09-25 14:51:30 UTC (rev 2460)
+++ trunk/drbd/drbd_receiver.c	2006-09-25 15:26:44 UTC (rev 2461)
@@ -2899,7 +2899,7 @@
 			}
 
 			_req_mod(req,
-				 h->command == WriteAck
+				 h->command == be16_to_cpu(WriteAck)
 				 ? write_acked_by_peer
 				 : recv_acked_by_peer);
 			spin_unlock_irq(&mdev->req_lock);



More information about the drbd-cvs mailing list