[prev in list] [next in list] [prev in thread] [next in thread] 

List:       drbd-cvs
Subject:    [DRBD-cvs] r1733 - branches/drbd-0.7/drbd
From:       svn () svn ! drbd ! org
Date:       2005-01-25 10:22:43
Message-ID: 20050125102243.8294F3BE6D () garcon ! linbit ! com
[Download RAW message or body]

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;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic