[DRBD-cvs] r1733 - branches/drbd-0.7/drbd

svn at svn.drbd.org svn at svn.drbd.org
Tue Jan 25 11:22:43 CET 2005


Author: phil
Date: 2005-01-25 11:22:40 +0100 (Tue, 25 Jan 2005)
New Revision: 1733

Modified:
   branches/drbd-0.7/drbd/drbd_compat_wrappers.h
Log:
Last part of LMB's patch...


Modified: branches/drbd-0.7/drbd/drbd_compat_wrappers.h
===================================================================
--- branches/drbd-0.7/drbd/drbd_compat_wrappers.h	2005-01-25 09:56:00 UTC (rev 1732)
+++ branches/drbd-0.7/drbd/drbd_compat_wrappers.h	2005-01-25 10:22:40 UTC (rev 1733)
@@ -471,8 +471,7 @@
 	bio->bi_destructor = NULL;
 	vec->bv_page = page;
 	bio->bi_size = vec->bv_len = PAGE_SIZE;
-	bio->bi_max_vecs = bio->bi_vcnt = 
-	bio->bi_phys_segments = bio->bi_hw_segments = 1;
+	bio->bi_max_vecs = bio->bi_vcnt = 1;
 	vec->bv_offset = 0;
 
 	e->block_id = ID_VACANT;
@@ -504,8 +503,7 @@
 	bio->bi_destructor = NULL;
 	vec->bv_page = page;
 	vec->bv_offset = 0;
-	bio->bi_max_vecs = bio->bi_vcnt = 
-	bio->bi_phys_segments = bio->bi_hw_segments = 1;
+	bio->bi_max_vecs = bio->bi_vcnt = 1;
 
 	bio->bi_bdev = mdev->backing_bdev;
 	bio->bi_private = mdev;



More information about the drbd-cvs mailing list