[DRBD-cvs] svn commit by lars - r2515 - branches/drbd-0.7/drbd - 2.4 compatibility ...

drbd-cvs at lists.linbit.com drbd-cvs at lists.linbit.com
Wed Oct 4 18:17:11 CEST 2006


Author: lars
Date: 2006-10-04 18:17:10 +0200 (Wed, 04 Oct 2006)
New Revision: 2515

Modified:
   branches/drbd-0.7/drbd/drbd_worker.c
Log:
2.4 compatibility ...

Modified: branches/drbd-0.7/drbd/drbd_worker.c
===================================================================
--- branches/drbd-0.7/drbd/drbd_worker.c	2006-10-04 16:05:14 UTC (rev 2514)
+++ branches/drbd-0.7/drbd/drbd_worker.c	2006-10-04 16:17:10 UTC (rev 2515)
@@ -149,7 +149,7 @@
 
 	drbd_chk_io_error(mdev,!uptodate);
         // req may get freed within drbd_end_req
-	rsector = drbd_req_get_sector(req);
+	rsector = req->sector;
 	drbd_end_req(req, RQ_DRBD_LOCAL, uptodate, rsector);
 	drbd_al_complete_io(mdev,rsector);
 	dec_local(mdev);



More information about the drbd-cvs mailing list