[DRBD-cvs] svn commit by phil - r2754 - trunk/drbd - Oops fixed, the last commit.

drbd-cvs at lists.linbit.com drbd-cvs at lists.linbit.com
Wed Feb 14 16:07:43 CET 2007


Author: phil
Date: 2007-02-14 16:07:43 +0100 (Wed, 14 Feb 2007)
New Revision: 2754

Modified:
   trunk/drbd/drbd_actlog.c
Log:
Oops fixed, the last commit.


Modified: trunk/drbd/drbd_actlog.c
===================================================================
--- trunk/drbd/drbd_actlog.c	2007-02-14 14:48:09 UTC (rev 2753)
+++ trunk/drbd/drbd_actlog.c	2007-02-14 15:07:43 UTC (rev 2754)
@@ -44,7 +44,7 @@
 
 	bio->bi_bdev = bdev->md_bdev;
 	bio->bi_sector = sector;
-	ok = bio_add_page(bio, page, size, 0);
+	ok = (bio_add_page(bio, page, size, 0) == size);
 	if(!ok) goto out;
 	init_completion(&event);
 	bio->bi_private = &event;



More information about the drbd-cvs mailing list