2010-03-12 01:39:21 +01:00
|
|
|
---
|
|
|
|
tapset/ioblock.stp | 4 ++--
|
|
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
|
|
|
|
--- a/tapset/ioblock.stp
|
|
|
|
+++ b/tapset/ioblock.stp
|
|
|
|
@@ -118,7 +118,7 @@ probe ioblock.request = kernel.function
|
2008-12-05 15:49:58 +01:00
|
|
|
vcnt = $bio->bi_vcnt
|
|
|
|
idx = $bio->bi_idx
|
|
|
|
phys_segments = $bio->bi_phys_segments
|
2009-02-19 23:53:20 +01:00
|
|
|
-%(kernel_v < "2.6.28" %?
|
2008-12-05 15:49:58 +01:00
|
|
|
+%(kernel_v < "2.6.27" %?
|
|
|
|
hw_segments = $bio->bi_hw_segments
|
2009-02-19 23:53:20 +01:00
|
|
|
%)
|
2008-12-05 15:49:58 +01:00
|
|
|
size = $bio->bi_size
|
2010-03-12 01:39:21 +01:00
|
|
|
@@ -169,7 +169,7 @@ probe ioblock.end = kernel.function("bio
|
2008-12-05 15:49:58 +01:00
|
|
|
vcnt = $bio->bi_vcnt
|
|
|
|
idx = $bio->bi_idx
|
|
|
|
phys_segments = $bio->bi_phys_segments
|
2009-02-19 23:53:20 +01:00
|
|
|
-%(kernel_v < "2.6.28" %?
|
2008-12-05 15:49:58 +01:00
|
|
|
+%(kernel_v < "2.6.27" %?
|
|
|
|
hw_segments = $bio->bi_hw_segments
|
2009-02-19 23:53:20 +01:00
|
|
|
%)
|
2008-12-05 15:49:58 +01:00
|
|
|
size = $bio->bi_size
|